Class CgmLoadOptions

CgmLoadOptions class

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

public sealed class CgmLoadOptions : LoadOptions


CgmLoadOptions()Creates default load options for converting CGM file into pdf document. Default pdf page size - A4 300dpi 2480 X 3508.
CgmLoadOptions(SizeF)Creates load options with defined !:pageSize.


DisableFontLicenseVerifications { get; set; }Gets or 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.
LoadFormat { get; }Represents file format which LoadOptions describes.
PageSize { get; }Gets or sets output page size for import.
WarningHandler { get; set; }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