Show / Hide Table of Contents

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.

Inheritance
object
SmilText
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class SmilText

Constructors

View Source

SmilText(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 src parameter is null.

Properties

View Source

Id

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 Source

Src

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; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX