IPageSizeConvertOptions

All Implemented Interfaces: com.groupdocs.conversion.options.convert.IConvertOptions

public interface IPageSizeConvertOptions extends IConvertOptions

Represents convert options that support page size

Methods

Method Description
getPageSize() Gets desired page size after conversion
setPageSize(PageSize pageSize) Set desired page size after conversion
getPageWidth() Specified page width in points if is set to PageSize.Custom
setPageWidth(float pageWidth) Set desired page width
getPageHeight() Specified page height in points if is set to PageSize.Custom
setPageHeight(float pageHeight) Set desired page height

getPageSize()

public abstract PageSize getPageSize()

Gets desired page size after conversion

Returns: PageSize

setPageSize(PageSize pageSize)

public abstract void setPageSize(PageSize pageSize)

Set desired page size after conversion

Parameters:

Parameter Type Description
pageSize PageSize

getPageWidth()

public abstract float getPageWidth()

Specified page width in points if is set to PageSize.Custom

Returns: float

setPageWidth(float pageWidth)

public abstract void setPageWidth(float pageWidth)

Set desired page width

Parameters:

Parameter Type Description
pageWidth float

getPageHeight()

public abstract float getPageHeight()

Specified page height in points if is set to PageSize.Custom

Returns: float

setPageHeight(float pageHeight)

public abstract void setPageHeight(float pageHeight)

Set desired page height

Parameters:

Parameter Type Description
pageHeight float