EpubLoadOptions Class
Contains options for loading/importing EPUB file into pdf document.
Inheritance Hierarchy
SystemObject
  Aspose.PdfLoadOptions
    Aspose.PdfEpubLoadOptions

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.4.0
Syntax
public sealed class EpubLoadOptions : LoadOptions

The EpubLoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodEpubLoadOptions
Creates default load options for converting EPUB file into pdf document. Default pdf page size - A4 300dpi 2480 X 3508.
Public methodEpubLoadOptions(SizeF)
Creates load options with specified page size.
Properties
  NameDescription
Public propertyLoadFormat
Represents file format which LoadOptions describes.
(Inherited from LoadOptions.)
Public propertyMargin
Gets reference on object that represent marging info.
Public propertyPageSize
Gets or sets output page size for import.
Public propertyWarningHandler
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.
(Inherited from LoadOptions.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Public fieldMarginsAreaUsageMode
Represents mode of usage of margins area - defines treatement of instructions (if any) of CSS of imported document related to usage of margins.
Public fieldPageSizeAdjustmentMode
ATTENTION! The feature implemented but did not put yet to public API since blocker issue in OSHARED layer revealed for sample document. Represents mode of usage of page size during conversion. Formats (like HTML, EPUB etc), usually have float design, so, it allows to fit required pagesize. But sometimes content has specified horizontal positions or size that does not allow put content into required page size. In such case we can define what should be done in this case (i.e when size of content does not fit required initial page size of result PDF document).
See Also