EpubLoadOptions
OfficeIMO.Epub
Controls EPUB extraction behavior.
Inheritance
- object
- EpubLoadOptions
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 5
- Method EpubDocument.InspectContentSafety
- Method EpubDocument.Load
- Method EpubDocument.LoadAsync
- Method EpubDocument.RemoveSelectedContent
- Method EpubPublication.Read
Constructors
public EpubLoadOptions() #Inherited Methods
Properties
public long MaxPackageBytes { get; set; } #Maximum compressed EPUB package size read from a file or stream.
public int MaxArchiveEntries { get; set; } #Maximum number of ZIP entries indexed from the container.
public long MaxTotalUncompressedBytes { get; set; } #Maximum combined uncompressed size declared by ZIP entries.
public long MaxPackageMetadataBytes { get; set; } #Maximum size of container, OPF, navigation, NCX, or encryption XML read into memory.
public int MaxMetadataItems { get; set; } #Maximum number of ordered OPF metadata declarations retained.
public int MaxChapters { get; set; } #Maximum number of chapter entries to emit.
public long? MaxChapterBytes { get; set; } #Optional maximum chapter size in bytes.
public long MaxTotalTextCharacters { get; set; } #Maximum combined extracted chapter text length in UTF-16 characters.
public long MaxTotalRawHtmlBytes { get; set; } #Maximum combined uncompressed bytes of raw chapter HTML retained in memory.
public bool IncludeRawHtml { get; set; } #When true, includes raw HTML per chapter.
public bool IncludeResourceData { get; set; } #When true, includes bounded manifest resource payloads.
public int MaxResources { get; set; } #Maximum number of manifest resources returned.
public long MaxResourceBytes { get; set; } #Maximum payload size for one manifest resource.
public long MaxTotalResourceBytes { get; set; } #Maximum combined payload size returned for manifest resources.
public bool DeterministicOrder { get; set; } #When true, chapter order is deterministic by internal path.
public bool PreferSpineOrder { get; set; } #When true, OPF spine ordering is preferred over archive path order.
public bool IncludeNonLinearSpineItems { get; set; } #When false, non-linear OPF spine items are skipped.
public bool FallbackToHtmlScan { get; set; } #When true, falls back to scanning XHTML/HTML entries when OPF/spine discovery fails.