CgmLoadOptions
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions
public final class CgmLoadOptions extends LoadOptions
Contains options for loading/importing CGM file into pdf document.
Constructors
Constructor | Description |
---|---|
CgmLoadOptions() | Creates default load options for converting CGM file into pdf document. |
CgmLoadOptions(Dimension2D pageSize) | Creates load options with defined pageSize . |
Methods
Method | Description |
---|---|
getPageSize() | Gets output page size for import. |
CgmLoadOptions()
public CgmLoadOptions()
Creates default load options for converting CGM file into pdf document. Default pdf page size - A4 300dpi 2480 X 3508.
CgmLoadOptions(Dimension2D pageSize)
public CgmLoadOptions(Dimension2D pageSize)
Creates load options with defined pageSize .
Parameters:
Parameter | Type | Description |
---|---|---|
pageSize | java.awt.geom.Dimension2D | Defines pdf page width and height. |
getPageSize()
public Dimension2D getPageSize()
Gets output page size for import.
Returns: java.awt.geom.Dimension2D - Dimension2D object