Class EpubMetadataCoverage
Represents a coverage of the EPUB book. A coverage is the spatial or temporal topic of the book, the spatial applicability of the book, or the jurisdiction under which the book is relevant.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.14, and http://purl.org/dc/elements/1.1/coverage for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataCoverage
Constructors
View SourceEpubMetadataCoverage(string, string?, EpubTextDirection?, string?)
Initializes a new instance of the EpubMetadataCoverage class.
Declaration
public EpubMetadataCoverage(string coverage, string? id = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
Type | Name | Description |
---|---|---|
string | coverage | The text content of this coverage. |
string | id | The unique ID of this coverage or |
EpubTextDirection? | textDirection | The text direction of this coverage or |
string | language | The language of this coverage or |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceCoverage
Gets the text content of this coverage.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.14, and http://purl.org/dc/elements/1.1/coverage for more information.
Declaration
public string Coverage { get; }
Property type: string
View SourceId
Gets the unique ID of this coverage or null
if the coverage doesn't have an ID.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-id for more information.
Declaration
public string? Id { get; }
Property type: string
View SourceLanguage
Gets the language of this coverage or null
if the coverage doesn't specify the language.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-xml-lang for more information.
Declaration
public string? Language { get; }
Property type: string
View SourceTextDirection
Gets the text direction of this coverage or null
if the coverage doesn't specify a text direction.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-dir for more information.
Declaration
public EpubTextDirection? TextDirection { get; }