Class Epub3NavSpan
Navigation header associated with a Epub3NavLi (represented by the <span> HTML tag in the navigation document).
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class Epub3NavSpan
Constructors
View SourceEpub3NavSpan(string, string?, string?)
Initializes a new instance of the Epub3NavSpan class.
Declaration
public Epub3NavSpan(string text, string? title, string? alt = null)
Parameters
Type | Name | Description |
---|---|---|
string | text | The textual content of the navigation header (represented by the inner content of the <span> HTML tag in the navigation document). |
string | title | The alternative title of the navigation header (represented by the 'title' HTML attribute in the navigation document)
or |
string | alt | The alternative text of the navigation header (represented by the 'title' HTML attribute in the navigation document)
or |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceAlt
Gets the alternative text of the navigation header (represented by the 'title' HTML attribute in the navigation document)
or null
if the alternative text is not specified.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.
Declaration
public string? Alt { get; }
Property type: string
View SourceText
Gets the textual content of the navigation header (represented by the inner content of the <span> HTML tag in the navigation document).
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.
Declaration
public string Text { get; }
Property type: string
View SourceTitle
Gets the alternative title of the navigation header (represented by the 'title' HTML attribute in the navigation document)
or null
if the alternative title is not specified.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.
Declaration
public string? Title { get; }