public class RenderingProperties extends Object
Constructor and Description |
---|
RenderingProperties() |
Modifier and Type | Method and Description |
---|---|
static PdfRenderImageType |
getDefaultImageType()
Gets the default image type of the resultant images
|
static float |
getDefaultPageScaling()
Gets the default page scaling value, which will be applied to page sizes to calculate the dimensions of the resultant image
|
com.itextpdf.kernel.counter.event.IMetaInfo |
getEventCountingMetaInfo()
Gets pdfRender meta info.
|
PdfRenderImageType |
getImageType()
Gets the image type in which the resultant images will be generated
|
static float |
getMaxPageScaling()
Gets the maximum page scaling value, which can be applied to page sizes to calculate the dimensions of the resultant image
|
float |
getPageScaling()
Gets the page scaling value, which will be applied to page sizes to calculate the dimensions of the resultant image
|
String |
getPassword()
Gets the password which will be used if the document is encrypted with standard encryption.
|
RenderingProperties |
setEventCountingMetaInfo(com.itextpdf.kernel.counter.event.IMetaInfo metaInfo)
Sets pdfRender's meta info.
|
RenderingProperties |
setImageType(PdfRenderImageType imageType)
Sets the image type in which the resultant images will be generated
|
RenderingProperties |
setPageScaling(float pageScaling)
Sets the page scaling value, which will be applied to page sizes to calculate the dimensions of the resultant image.
|
RenderingProperties |
setPassword(String password)
Defines the password which will be used if the document is encrypted with standard encryption.
|
public static float getDefaultPageScaling()
public static float getMaxPageScaling()
public static PdfRenderImageType getDefaultImageType()
public com.itextpdf.kernel.counter.event.IMetaInfo getEventCountingMetaInfo()
EventCounter
with PdfRenderEvent
and can be used to determine event origin.
IMetaInfo
public RenderingProperties setEventCountingMetaInfo(com.itextpdf.kernel.counter.event.IMetaInfo metaInfo)
EventCounter
with PdfRenderEvent
and can be used to determine event origin.
metaInfo
- meta info to set
public PdfRenderImageType getImageType()
public RenderingProperties setImageType(PdfRenderImageType imageType)
imageType
- the image type to be used fro image generation. Note that for overloads of PdfToImageRenderer
which accept PdfToImageRenderer.BufferedImageReadyListener
this property is not taken into account.
public String getPassword()
public RenderingProperties setPassword(String password)
password
- the password to use in order to open the document.
public float getPageScaling()
public RenderingProperties setPageScaling(float pageScaling)
pageScaling
- the page scaling to be applied
Copyright © 1998–2021 iText Group NV. All rights reserved.