Package com.ironsoftware.ironpdf.image
Class ToImageOptions
java.lang.Object
com.ironsoftware.ironpdf.image.ToImageOptions
Defines options when rasterizing (converting) an PDf to image objects and files.
 
See: PdfDocument.toImages(String, String, ToImageOptions) and PdfDocument.toBufferedImages(ToImageOptions options)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetDpi()Gets dpi.Gets image max height.Gets image max width.voidsetDpi(int dpi) Sets dpi.voidsetImageMaxHeight(Integer imageMaxHeight) Sets image max height.voidsetImageMaxWidth(Integer imageMaxWidth) Sets image max width.
- 
Constructor Details- 
ToImageOptionspublic ToImageOptions()
 
- 
- 
Method Details- 
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
 
- 
getImageMaxHeightGets image max height. The target maximum height of the output images. Default is null.- Returns:
- the image max height
 
- 
setImageMaxHeightSets image max height. The target maximum height of the output images. Default is null.- Parameters:
- imageMaxHeight- the image max height
 
- 
getImageMaxWidthGets image max width. The target maximum width of the output images. Default is null.- Returns:
- the image max width
 
- 
setImageMaxWidthSets image max width. The target maximum width of the output images. Default is null.- Parameters:
- imageMaxWidth- the image max width
 
 
-