Show / Hide Table of Contents

Class EpubRemoteContentFile

The base class for a remote content file outside of the EPUB archive (e.g., an HTML file or an image). Unlike EpubRemoteContentFileRef, the classes derived from this base class contain the whole content of the file.

Inheritance
object
EpubContentFile
EpubRemoteContentFile
EpubRemoteByteContentFile
EpubRemoteTextContentFile
Inherited Members
EpubContentFile.Key
EpubContentFile.ContentType
EpubContentFile.ContentMimeType
EpubContentFile.ContentFileType
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 abstract class EpubRemoteContentFile : EpubContentFile

Constructors

View Source

EpubRemoteContentFile(string, EpubContentType, string)

Initializes a new instance of the EpubRemoteContentFile class.

Declaration
protected EpubRemoteContentFile(string key, EpubContentType contentType, string contentMimeType)
Parameters
Type Name Description
string key

The content file key as it is declared in the EPUB manifest (in the Href property).

EpubContentType contentType

The type of the content of the file.

string contentMimeType

The MIME type of the content of the file.

Exceptions
Type Condition
ArgumentNullException

The contentMimeType parameter is null.

Properties

View Source

ContentLocation

Gets the location of the content file which is always REMOTE for remote content files.

Declaration
public override EpubContentLocation ContentLocation { get; }
Property type: EpubContentLocation
Overrides
EpubContentFile.ContentLocation
View Source

Url

Gets the absolute URI of the remote content file (as it is specified in the EPUB manifest).

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