public class PdfConvertOptions extends CommonConvertOptions<PdfFileType> implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions
Options for conversion to Pdf file type.
| Constructor and Description |
|---|
PdfConvertOptions()
Initializes new instance of
PdfConvertOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDpi()
Desired page DPI after conversion.
|
int |
getHeight()
Deprecated.
|
float |
getMarginBottom()
Desired page bottom margin in points after conversion.
|
float |
getMarginLeft()
Desired page left margin in points after conversion.
|
float |
getMarginRight()
Desired page right margin in points after conversion.
|
float |
getMarginTop()
Desired page top margin in points after conversion.
|
float |
getPageHeight()
Specified page height in points if
|
PageOrientation |
getPageOrientation()
Gets page orientation after conversion
|
PageSize |
getPageSize()
Gets desired page size after conversion
|
float |
getPageWidth()
Specified page width in points if
|
String |
getPassword()
Set this property if you want to protect the converted document with a password.
|
PdfOptions |
getPdfOptions()
Pdf specific convert options
|
Rotation |
getRotate()
Page rotation
|
int |
getWidth()
Deprecated.
|
void |
setDpi(int value)
Desired page DPI after conversion.
|
void |
setHeight(int value)
Deprecated.
|
void |
setMarginBottom(float value)
Desired page bottom margin in points after conversion.
|
void |
setMarginLeft(float value)
Desired page left margin in points after conversion.
|
void |
setMarginRight(float value)
Desired page right margin in points after conversion.
|
void |
setMarginTop(float value)
Desired page top margin in points after conversion.
|
void |
setPageHeight(float pageHeight)
Set desired page height
|
void |
setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
|
void |
setPageSize(PageSize pageSize)
Set desired page size after conversion
|
void |
setPageWidth(float pageWidth)
Set desired page width
|
void |
setPassword(String value)
Set this property if you want to protect the converted document with a password.
|
void |
setPdfOptions(PdfOptions value)
Pdf specific convert options
|
void |
setRotate(Rotation value)
Page rotation
|
void |
setWidth(int value)
Deprecated.
|
getPageNumber, getPages, getPagesCount, getWatermark, setPageNumber, setPages, setPagesCount, setWatermarkdeepClone, getFormat_ConvertOptions_New, getFormat, setFormat_ConvertOptions_New, setFormatequals, equals, hashCode, op_Equality, op_InequalitygetClass, notify, notifyAll, toString, wait, wait, waitgetFormat, setFormatpublic PdfConvertOptions()
Initializes new instance of PdfConvertOptions class.
@Deprecated public final int getWidth()
Desired page width in pixels after conversion.
@Deprecated public final void setWidth(int value)
Desired page width in pixels after conversion.
@Deprecated public final int getHeight()
Desired page height in pixels after conversion.
@Deprecated public final void setHeight(int value)
Desired page height in pixels after conversion.
public final int getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final void setDpi(int value)
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final String getPassword()
Set this property if you want to protect the converted document with a password.
public final void setPassword(String value)
Set this property if you want to protect the converted document with a password.
public final float getMarginTop()
Desired page top margin in points after conversion.
getMarginTop in interface IPageMarginConvertOptionspublic final void setMarginTop(float value)
Desired page top margin in points after conversion.
setMarginTop in interface IPageMarginConvertOptionspublic final float getMarginBottom()
Desired page bottom margin in points after conversion.
getMarginBottom in interface IPageMarginConvertOptionspublic final void setMarginBottom(float value)
Desired page bottom margin in points after conversion.
setMarginBottom in interface IPageMarginConvertOptionspublic final float getMarginLeft()
Desired page left margin in points after conversion.
getMarginLeft in interface IPageMarginConvertOptionspublic final void setMarginLeft(float value)
Desired page left margin in points after conversion.
setMarginLeft in interface IPageMarginConvertOptionspublic final float getMarginRight()
Desired page right margin in points after conversion.
getMarginRight in interface IPageMarginConvertOptionspublic final void setMarginRight(float value)
Desired page right margin in points after conversion.
setMarginRight in interface IPageMarginConvertOptionspublic final PdfOptions getPdfOptions()
Pdf specific convert options
public final void setPdfOptions(PdfOptions value)
Pdf specific convert options
public final Rotation getRotate()
Page rotation
public final void setRotate(Rotation value)
Page rotation
public PageOrientation getPageOrientation()
IPageOrientationConvertOptionsgetPageOrientation in interface IPageOrientationConvertOptionspublic void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptionssetPageOrientation in interface IPageOrientationConvertOptionspublic PageSize getPageSize()
IPageSizeConvertOptionsgetPageSize in interface IPageSizeConvertOptionspublic void setPageSize(PageSize pageSize)
IPageSizeConvertOptionssetPageSize in interface IPageSizeConvertOptionspublic float getPageWidth()
IPageSizeConvertOptionsgetPageWidth in interface IPageSizeConvertOptionspublic void setPageWidth(float pageWidth)
IPageSizeConvertOptionssetPageWidth in interface IPageSizeConvertOptionspublic float getPageHeight()
IPageSizeConvertOptionsgetPageHeight in interface IPageSizeConvertOptionspublic void setPageHeight(float pageHeight)
IPageSizeConvertOptionssetPageHeight in interface IPageSizeConvertOptionsCopyright © 2025. All rights reserved.