Class Epub2NcxReaderOptions
Various options to configure the behavior of the EPUB 2 NCX navigation document reader.
Inherited Members
Namespace: VersOne.Epub.Options
Assembly: VersOne.Epub.dll
Syntax
public class Epub2NcxReaderOptions
Constructors
View SourceEpub2NcxReaderOptions(EpubReaderOptionsPreset?)
Initializes a new instance of the Epub2NcxReaderOptions class.
Declaration
public Epub2NcxReaderOptions(EpubReaderOptionsPreset? preset = null)
Parameters
Type | Name | Description |
---|---|---|
EpubReaderOptionsPreset? | preset | An optional preset to initialize the Epub2NcxReaderOptions class with a predefined set of options. |
Properties
View SourceIgnoreMissingContentForNavigationPoints
Gets or sets a value indicating whether the EPUB 2 NCX reader should ignore missing content attribute on the navigation points in the NCX.
If it's set to false
and the content attribute is not present, then the "navigation point X should contain at least one navigation label" exception will be thrown.
Otherwise all navigation points without the content attribute and all their child navigation points will be excluded from the navigation map.
Default value is false
.
Declaration
public bool IgnoreMissingContentForNavigationPoints { get; set; }