CgmLoadOptions

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

ConstructorDescription
CgmLoadOptions()Creates default load options for converting CGM file into pdf document.
CgmLoadOptions(Dimension2D pageSize)Creates load options with defined pageSize .

Methods

MethodDescription
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:

ParameterTypeDescription
pageSizejava.awt.geom.Dimension2DDefines pdf page width and height.

getPageSize()

public Dimension2D getPageSize()

Gets output page size for import.

Returns: java.awt.geom.Dimension2D - Dimension2D object