Show / Hide Table of Contents

Class EpubMetadataCreator

Creator of the book. Represents the name of a person, organization, etc. responsible for the creation of the content of the EPUB book.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccreator, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.2, and http://purl.org/dc/elements/1.1/creator for more information.

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

Constructors

View Source

EpubMetadataCreator(string, string?, string?, string?, EpubTextDirection?, string?)

Initializes a new instance of the EpubMetadataCreator class.

Declaration
public EpubMetadataCreator(string creator, string? id = null, string? fileAs = null, string? role = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
Type Name Description
string creator

The name of the creator as the author intends it to be displayed to a user.

string id

The unique ID of this EPUB metadata creator item.

string fileAs

The normalized form of the name of the creator for sorting.

string role

The creator's role which indicates the function the creator played in the creation of the content of the EPUB book.

EpubTextDirection? textDirection

The text direction for the name of this creator or null if the creator doesn't specify a text direction.

string language

The language for the name of this creator or null if the creator doesn't specify the language.

Exceptions
Type Condition
ArgumentNullException

The creator parameter is null.

Properties

View Source

Creator

Gets the name of the creator as the author intends it to be displayed to a user.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccreator for more information.

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

FileAs

Gets the normalized form of the name of the creator for sorting.

See https://www.w3.org/publishing/epub32/epub-packages.html#file-as and https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccreator for more information.

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

Id

Gets the unique ID of this EPUB metadata creator item.

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

Language

Gets the language for the name of this creator or null if the creator 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 Source

Role

Gets the creator's role which indicates the function the creator played in the creation of the content of the EPUB book.

See https://www.w3.org/publishing/epub32/epub-packages.html#role and https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccreator for more information.

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

TextDirection

Gets the text direction for the name of this creator or null if the creator 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; }
Property type: EpubTextDirection?
  • View Source
In this article
Back to top Generated by DocFX