EBookConvertOptions
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions
All Implemented Interfaces: com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
public class EBookConvertOptions extends CommonConvertOptions<EBookFileType> implements IPageSizeConvertOptions, IPageOrientationConvertOptions
Options for conversion to EBook file type.
Constructors
Constructor | Description |
---|---|
EBookConvertOptions() | Initializes new instance of class. |
Methods
EBookConvertOptions()
public EBookConvertOptions()
Initializes new instance of class.
getPageSize()
public PageSize getPageSize()
Gets desired page size after conversion
Returns: PageSize
setPageSize(PageSize pageSize)
public void setPageSize(PageSize pageSize)
Set desired page size after conversion
Parameters:
Parameter | Type | Description |
---|---|---|
pageSize | PageSize |
getPageWidth()
public float getPageWidth()
Specified page width in points if is set to PageSize.Custom
Returns: float
setPageWidth(float pageWidth)
public void setPageWidth(float pageWidth)
Set desired page width
Parameters:
Parameter | Type | Description |
---|---|---|
pageWidth | float |
getPageHeight()
public float getPageHeight()
Specified page height in points if is set to PageSize.Custom
Returns: float
setPageHeight(float pageHeight)
public void setPageHeight(float pageHeight)
Set desired page height
Parameters:
Parameter | Type | Description |
---|---|---|
pageHeight | float |
getPageOrientation()
public PageOrientation getPageOrientation()
Gets page orientation after conversion
Returns: PageOrientation
setPageOrientation(PageOrientation pageOrientation)
public void setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
Parameters:
Parameter | Type | Description |
---|---|---|
pageOrientation | PageOrientation |