Class EpubContentRef
A container for all content file references within the EPUB book.
Inherited Members
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public class EpubContentRef
Constructors
View SourceEpubContentRef(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 |
EpubLocalTextContentFileRef | navigationHtmlFile | The file reference to the EPUB 3 navigation document of the EPUB book or |
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 SourceAllFiles
Gets all content file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef> AllFiles { get; }
Property type: EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>
View SourceAudio
Gets all audio file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Audio { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View SourceCover
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 SourceCss
Gets all CSS file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Css { get; }
Property type: EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>
View SourceFonts
Gets all embedded font file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Fonts { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View SourceHtml
Gets all HTML/XHTML content file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Html { get; }
Property type: EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>
View SourceImages
Gets all image file references of the EPUB book.
Declaration
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Images { get; }
Property type: EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>
View SourceNavigationHtmlFile
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; }