Aspose::Pdf::LoadOptions class

LoadOptions class

LoadOptions type holds level of abstraction on individual load options.

class LoadOptions : public virtual System::Object

Nested classes

Enums

EnumDescription
MarginsAreaUsageModesRepresents mode of usage of margins area during conversion

(like HTML, EPUB etc), defines treatement of instructions of imported format related to usage of margins. | | PageSizeAdjustmentModes | ATTENTION! The feature implemented but did not put yet to public API since blocker issue in OSHARED layer revealed for sample document. |

Methods

MethodDescription
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_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. |

Typedefs

TypedefDescription
ResourceLoadingStrategy

See Also