Package com.ironsoftware.ironpdf.image
Class ToImageOptions
- java.lang.Object
- 
- com.ironsoftware.ironpdf.image.ToImageOptions
 
- 
 public class ToImageOptions extends Object Defines options when rasterizing (converting) an PDf to image objects and files.See: PdfDocument.toImages(String, String, ToImageOptions)andPdfDocument.toBufferedImages(ToImageOptions options)
- 
- 
Constructor SummaryConstructors Constructor Description ToImageOptions()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDpi()Gets dpi.IntegergetImageMaxHeight()Gets image max height.IntegergetImageMaxWidth()Gets image max width.voidsetDpi(int dpi)Sets dpi.voidsetImageMaxHeight(Integer imageMaxHeight)Sets image max height.voidsetImageMaxWidth(Integer imageMaxWidth)Sets image max width.
 
- 
- 
- 
Method Detail- 
getDpipublic int getDpi() Gets dpi. The desired resolution of the output Images. Default is 96dpi.- Returns:
- the dpi
 
 - 
setDpipublic void setDpi(int dpi) Sets dpi. The desired resolution of the output Images. Default is 96dpi.- Parameters:
- dpi- the dpi
 
 - 
getImageMaxHeightpublic Integer getImageMaxHeight() Gets image max height. The target maximum height of the output images. Default is null.- Returns:
- the image max height
 
 - 
setImageMaxHeightpublic void setImageMaxHeight(Integer imageMaxHeight) Sets image max height. The target maximum height of the output images. Default is null.- Parameters:
- imageMaxHeight- the image max height
 
 - 
getImageMaxWidthpublic Integer getImageMaxWidth() Gets image max width. The target maximum width of the output images. Default is null.- Returns:
- the image max width
 
 - 
setImageMaxWidthpublic void setImageMaxWidth(Integer imageMaxWidth) Sets image max width. The target maximum width of the output images. Default is null.- Parameters:
- imageMaxWidth- the image max width
 
 
- 
 
-