Aspose::Pdf::CgmLoadOptions class

CgmLoadOptions class

Contains options for loading/importing CGM file into pdf document.

class CgmLoadOptions : public Aspose::Pdf::LoadOptions

Methods

MethodDescription
CgmLoadOptions()Creates default load options for converting CGM file into pdf document. Default pdf page size - A4 300dpi 2480 X 3508.
CgmLoadOptions(System::Drawing::SizeF)Creates load options with defined pageSize.
get_DisableFontLicenseVerifications() constGets flag to disable any license restrictions for all fonts while loading the file. When true

, allows to execute operations with font that are prohibited by a license of this font, for example allows to embed a font into a PDF document even if license rules disable embedding for this font. By default false

. | | get_LoadFormat() const | Represents file format which LoadOptions describes. | | get_PageSize() const | Gets output page size for import. | | get_WarningHandler() const | Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease. | | LoadOptions() | | | set_DisableFontLicenseVerifications(bool) | Sets flag to disable any license restrictions for all fonts while loading the file. When true

, allows to execute operations with font that are prohibited by a license of this font, for example allows to embed a font into a PDF document even if license rules disable embedding for this font. By default false

. | | set_WarningHandler(System::SharedPtr<IWarningCallback>) | Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease. |

See Also