Show / Hide Table of Contents

Class EpubMetadataFormat

Represents a file format, physical media, or dimensions of the EPUB book.

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.9, and http://purl.org/dc/elements/1.1/format for more information.

Inheritance
object
EpubMetadataFormat
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 EpubMetadataFormat

Constructors

View Source

EpubMetadataFormat(string, string?)

Initializes a new instance of the EpubMetadataFormat class.

Declaration
public EpubMetadataFormat(string format, string? id = null)
Parameters
Type Name Description
string format

The format value.

string id

The unique ID of this format metadata element or null if the format metadata element doesn't have an ID.

Exceptions
Type Condition
ArgumentNullException

The format parameter is null.

Properties

View Source

Format

Gets the format value.

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.9, and http://purl.org/dc/elements/1.1/format for more information.

Declaration
public string Format { get; }
Property type: string
View Source

Id

Gets the unique ID of this format metadata element or null if the format metadata element 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 Source
In this article
Back to top Generated by DocFX