Show / Hide Table of Contents

Class EpubContent

A container for all content files within the EPUB book.

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

Constructors

View Source

EpubContent(EpubLocalByteContentFile?, EpubLocalTextContentFile?, EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>?, EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>?, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>?, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>?, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>?, EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile>?)

Initializes a new instance of the EpubContent class.

Declaration
public EpubContent(EpubLocalByteContentFile? cover = null, EpubLocalTextContentFile? navigationHtmlFile = null, EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>? html = null, EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>? css = null, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>? images = null, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>? fonts = null, EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>? audio = null, EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile>? allFiles = null)
Parameters
Type Name Description
EpubLocalByteContentFile cover

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

EpubLocalTextContentFile navigationHtmlFile

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

EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> html

All HTML/XHTML content files of the EPUB book.

EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> css

All CSS files of the EPUB book.

EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> images

All image files of the EPUB book.

EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> fonts

All embedded font files of the EPUB book.

EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> audio

All audio files of the EPUB book.

EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile> allFiles

All content files of the EPUB book.

Properties

View Source

AllFiles

Gets all content files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile> AllFiles { get; }
Property type: EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile>
View Source

Audio

Gets all audio files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Audio { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View Source

Cover

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

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

Css

Gets all CSS files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> Css { get; }
Property type: EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>
View Source

Fonts

Gets all embedded font files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Fonts { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View Source

Html

Gets all HTML/XHTML content files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> Html { get; }
Property type: EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>
View Source

Images

Gets all image files of the EPUB book.

Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Images { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View Source

NavigationHtmlFile

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

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