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 |
getDefaultScaling()
Gets the page scaling multiplier value, which will be by default applied on page sizes to calculate the dimensions of the resultant image.
|
PdfRenderImageType |
getImageType()
Gets the image type in which the resultant images will be generated.
|
static float |
getMaxScaling()
Gets the maximum page scaling value, which can 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.
|
float |
getScaling()
Gets the page scaling value, which will be applied to page sizes to calculate the dimensions of the resultant image.
|
RenderingProperties |
setEventMetaInfo(com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo)
Sets pdfRender's meta info.
|
RenderingProperties |
setImageType(PdfRenderImageType imageType)
Sets the image type in which the resultant images will be generated.
|
RenderingProperties |
setPassword(String password)
Defines the password which will be used if the document is encrypted with standard encryption.
|
RenderingProperties |
setScaling(float pageScaling)
Sets the page scaling value, which will be applied to page sizes to calculate the dimensions of the resultant image.
|
public static float getDefaultScaling()
public static float getMaxScaling()
public static PdfRenderImageType getDefaultImageType()
public RenderingProperties setEventMetaInfo(com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo)
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 getScaling()
public RenderingProperties setScaling(float pageScaling)
pageScaling
- the page scaling to be applied
Copyright © 1998–2022 iText Group NV. All rights reserved.