Show / Hide Table of Contents

Class EpubContentRef

A container for all content file references within the EPUB book.

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

Constructors

View Source

EpubContentRef(EpubLocalByteContentFileRef?, EpubLocalTextContentFileRef?, EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>?, EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>?, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>?, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>?, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>?, EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>?)

Initializes a new instance of the EpubContentRef class.

Declaration
public EpubContentRef(EpubLocalByteContentFileRef? cover = null, EpubLocalTextContentFileRef? navigationHtmlFile = null, EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>? html = null, EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>? css = null, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? images = null, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? fonts = null, EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? audio = null, EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>? allFiles = null)
Parameters
Type Name Description
EpubLocalByteContentFileRef cover

The content file reference for the cover image of the EPUB book or null if the book doesn't have a cover.

EpubLocalTextContentFileRef navigationHtmlFile

The file reference to the EPUB 3 navigation document of the EPUB book or null if the book doesn't have a EPUB 3 navigation document.

EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> html

All HTML/XHTML content file references of the EPUB book.

EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> css

All CSS file references of the EPUB book.

EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> images

All image file references of the EPUB book.

EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> fonts

All embedded font file references of the EPUB book.

EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> audio

All audio file references of the EPUB book.

EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef> allFiles

All content file references of the EPUB book.

Properties

View Source

AllFiles

Gets all content file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef> AllFiles { get; }
Property type: EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>
View Source

Audio

Gets all audio file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Audio { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View Source

Cover

Gets the content file reference for the cover image of the EPUB book or null if the book doesn't have a cover.

Declaration
public EpubLocalByteContentFileRef? Cover { get; }
Property type: EpubLocalByteContentFileRef
View Source

Css

Gets all CSS file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Css { get; }
Property type: EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>
View Source

Fonts

Gets all embedded font file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Fonts { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View Source

Html

Gets all HTML/XHTML content file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Html { get; }
Property type: EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>
View Source

Images

Gets all image file references of the EPUB book.

Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Images { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View Source

NavigationHtmlFile

Gets the file reference to the EPUB 3 navigation document of the EPUB book or null if the book doesn't have a EPUB 3 navigation document.

Declaration
public EpubLocalTextContentFileRef? NavigationHtmlFile { get; }
Property type: EpubLocalTextContentFileRef
  • View Source
In this article
Back to top Generated by DocFX