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.
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
int |
getHeight()
Deprecated.
|
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.
|
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(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 |
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, memberwiseClone, setFormat_ConvertOptions_New, setFormatequals, equals, hashCode, op_Equality, op_Inequalityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetFormat, setFormatpublic PdfConvertOptions()
Initializes new instance of PdfConvertOptions class.
public final int getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
protected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObject@Deprecated public final int getHeight()
Desired page height in pixels after conversion.
public final int getMarginBottom()
Desired page bottom margin in pixels after conversion.
getMarginBottom in interface IPageMarginConvertOptionspublic final int getMarginLeft()
Desired page left margin in pixels after conversion.
getMarginLeft in interface IPageMarginConvertOptionspublic final int getMarginRight()
Desired page right margin in pixels after conversion.
getMarginRight in interface IPageMarginConvertOptionspublic final int getMarginTop()
Desired page top margin in pixels after conversion.
getMarginTop in interface IPageMarginConvertOptionspublic float getPageHeight()
IPageSizeConvertOptionsgetPageHeight in interface IPageSizeConvertOptionspublic PageOrientation getPageOrientation()
IPageOrientationConvertOptionsgetPageOrientation in interface IPageOrientationConvertOptionspublic PageSize getPageSize()
IPageSizeConvertOptionsgetPageSize in interface IPageSizeConvertOptionspublic float getPageWidth()
IPageSizeConvertOptionsgetPageWidth in interface IPageSizeConvertOptionspublic final String getPassword()
Set this property if you want to protect the converted document with a password.
public final PdfOptions getPdfOptions()
Pdf specific convert options
public final Rotation getRotate()
Page rotation
@Deprecated public final int getWidth()
Desired page width in pixels after conversion.
public final void setDpi(int value)
Desired page DPI after conversion. The default resolution is: 96 dpi.
@Deprecated public final void setHeight(int value)
Desired page height in pixels after conversion.
public final void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
setMarginBottom in interface IPageMarginConvertOptionspublic final void setMarginLeft(int value)
Desired page left margin in pixels after conversion.
setMarginLeft in interface IPageMarginConvertOptionspublic final void setMarginRight(int value)
Desired page right margin in pixels after conversion.
setMarginRight in interface IPageMarginConvertOptionspublic final void setMarginTop(int value)
Desired page top margin in pixels after conversion.
setMarginTop in interface IPageMarginConvertOptionspublic void setPageHeight(float pageHeight)
IPageSizeConvertOptionssetPageHeight in interface IPageSizeConvertOptionspublic void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptionssetPageOrientation in interface IPageOrientationConvertOptionspublic void setPageSize(PageSize pageSize)
IPageSizeConvertOptionssetPageSize in interface IPageSizeConvertOptionspublic void setPageWidth(float pageWidth)
IPageSizeConvertOptionssetPageWidth in interface IPageSizeConvertOptionspublic final void setPassword(String value)
Set this property if you want to protect the converted document with a password.
public final void setPdfOptions(PdfOptions value)
Pdf specific convert options
public final void setRotate(Rotation value)
Page rotation
@Deprecated public final void setWidth(int value)
Desired page width in pixels after conversion.
Copyright © 2024. All rights reserved.