EBookConvertOptions
Leave feedback
On this page
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.
| Constructor | Description |
|---|---|
| EBookConvertOptions() | Initializes new instance of class. |
public EBookConvertOptions()
Initializes new instance of class.
public PageSize getPageSize()
Gets desired page size after conversion
Returns: PageSize
public void setPageSize(PageSize pageSize)
Set desired page size after conversion
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageSize | PageSize |
public float getPageWidth()
Specified page width in points if is set to PageSize.Custom
Returns: float
public void setPageWidth(float pageWidth)
Set desired page width
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageWidth | float |
public float getPageHeight()
Specified page height in points if is set to PageSize.Custom
Returns: float
public void setPageHeight(float pageHeight)
Set desired page height
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageHeight | float |
public PageOrientation getPageOrientation()
Gets page orientation after conversion
Returns: PageOrientation
public void setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageOrientation | PageOrientation |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.