Class EpubContent
A container for all content files within the EPUB book.
Inherited Members
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public class EpubContent
Constructors
View SourceEpubContent(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 |
EpubLocalTextContentFile | navigationHtmlFile | EPUB 3 navigation document of the EPUB book or |
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 SourceAllFiles
Gets all content files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile> AllFiles { get; }
Property type: EpubContentCollection<EpubLocalContentFile, EpubRemoteContentFile>
View SourceAudio
Gets all audio files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Audio { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View SourceCover
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 SourceCss
Gets all CSS files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> Css { get; }
Property type: EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>
View SourceFonts
Gets all embedded font files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Fonts { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View SourceHtml
Gets all HTML/XHTML content files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile> Html { get; }
Property type: EpubContentCollection<EpubLocalTextContentFile, EpubRemoteTextContentFile>
View SourceImages
Gets all image files of the EPUB book.
Declaration
public EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile> Images { get; }
Property type: EpubContentCollection<EpubLocalByteContentFile, EpubRemoteByteContentFile>
View SourceNavigationHtmlFile
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; }