public class PdfConvertOptions extends com.groupdocs.conversion.options.convert.CommonConvertOptions<PdfFileType> implements Serializable
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.
|
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 |
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.
public final void setMarginTop(int value)
Desired page top margin in pixels after conversion.
public final int getMarginBottom()
Desired page bottom margin in pixels after conversion.
public final void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
public final int getMarginLeft()
Desired page left margin in pixels after conversion.
public final void setMarginLeft(int value)
Desired page left margin in pixels after conversion.
public final int getMarginRight()
Desired page right margin in pixels after conversion.
public final void setMarginRight(int value)
Desired page right margin in pixels after conversion.
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