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 |
---|---|
double |
getDpi()
Desired page DPI after conversion.
|
int |
getHeight()
Desired page height in pixels after conversion.
|
int |
getMarginBottom()
Desired page bottom margin in pixels after conversion.
|
int |
getMarginLeft()
Desired page left margin in pixels after conversion.
|
int |
getMarginRight()
Desired page right margin in pixels after conversion.
|
int |
getMarginTop()
Desired page top margin in pixels after conversion.
|
PageOrientation |
getPageOrientation()
Gets page orientation after conversion
|
PageSize |
getPageSize()
Gets desired page size after conversion
|
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()
Desired page width in pixels after conversion.
|
void |
setDpi(double value)
Desired page DPI after conversion.
|
void |
setHeight(int value)
Desired page height in pixels after conversion.
|
void |
setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
|
void |
setMarginLeft(int value)
Desired page left margin in pixels after conversion.
|
void |
setMarginRight(int value)
Desired page right margin in pixels after conversion.
|
void |
setMarginTop(int value)
Desired page top margin in pixels after conversion.
|
void |
setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
|
void |
setPageSize(PageSize pageSize)
Set desired page size after conversion
|
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)
Desired page width in pixels after conversion.
|
getPageNumber, getPages, getPagesCount, getWatermark, setPageNumber, setPages, setPagesCount, setWatermark
deepClone, getFormat_ConvertOptions_New, getFormat, setFormat_ConvertOptions_New, setFormat
equals, equals, hashCode, op_Equality, op_Inequality
getClass, notify, notifyAll, toString, wait, wait, wait
getFormat, setFormat
public PdfConvertOptions()
Initializes new instance of PdfConvertOptions
class.
public final int getWidth()
Desired page width in pixels after conversion.
public final void setWidth(int value)
Desired page width in pixels after conversion.
public final int getHeight()
Desired page height in pixels after conversion.
public final void setHeight(int value)
Desired page height in pixels after conversion.
public final double getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final void setDpi(double 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 int getMarginTop()
Desired page top margin in pixels after conversion.
getMarginTop
in interface IPageMarginConvertOptions
public final void setMarginTop(int value)
Desired page top margin in pixels after conversion.
setMarginTop
in interface IPageMarginConvertOptions
public final int getMarginBottom()
Desired page bottom margin in pixels after conversion.
getMarginBottom
in interface IPageMarginConvertOptions
public final void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
setMarginBottom
in interface IPageMarginConvertOptions
public final int getMarginLeft()
Desired page left margin in pixels after conversion.
getMarginLeft
in interface IPageMarginConvertOptions
public final void setMarginLeft(int value)
Desired page left margin in pixels after conversion.
setMarginLeft
in interface IPageMarginConvertOptions
public final int getMarginRight()
Desired page right margin in pixels after conversion.
getMarginRight
in interface IPageMarginConvertOptions
public final void setMarginRight(int value)
Desired page right margin in pixels after conversion.
setMarginRight
in interface IPageMarginConvertOptions
public 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()
IPageOrientationConvertOptions
getPageOrientation
in interface IPageOrientationConvertOptions
public void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptions
setPageOrientation
in interface IPageOrientationConvertOptions
public PageSize getPageSize()
IPageSizeConvertOptions
getPageSize
in interface IPageSizeConvertOptions
public void setPageSize(PageSize pageSize)
IPageSizeConvertOptions
setPageSize
in interface IPageSizeConvertOptions