Class SmilText
Parsed content of the reference to an element (typically, a textual element) in the EPUB content document. This class corresponds to the <text> element in a media overlay document.
See https://www.w3.org/publishing/epub32/epub-mediaoverlays.html#sec-smil-text-elem for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class SmilText
Constructors
View SourceSmilText(string?, string)
Initializes a new instance of the SmilText class.
Declaration
public SmilText(string? id, string src)
Parameters
Type | Name | Description |
---|---|---|
string | id | An optional identifier of this element. |
string | src | The relative IRI reference of the corresponding EPUB content document, including a fragment identifier that references the specific element. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceId
Gets an optional identifier of this element. If present, this value is unique within the scope of the media overlay document.
Declaration
public string? Id { get; }
Property type: string
View SourceSrc
Gets the relative IRI reference of the corresponding EPUB content document, including a fragment identifier that references the specific element.
Declaration
public string Src { get; }