The package type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| package | Creates an instance of package. The package document at the specified location is opened as an XmlDocument and the components of the package are extracted: metadata, manifest, spine, and NCX. |
Methods
| Name | Description | |
|---|---|---|
| AddDocument | Add a document to the package. An empty content document is created in the working folder for the current package. This document is copied from a file on the web server. | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetContent | Gets the contents of the file with the given name, as specified in the href parameter. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Save | The XML package document is saved to the file from which it was read. | |
| SaveEntry | Save the contents of the given file. | |
| SetContentPage | ||
| SetTitlePage | ||
| SetTOCHeader | ||
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| FileSystemPath |
Gets the path to the root working folder.
| |
| manifest |
Get the manifest instance for the package.
| |
| metadata |
Get the metadata instance for the package.
| |
| PackagePath |
Get the path to the package folder relative to the root working folder.
| |
| spine |
Get the spine instance for the package.
| |
| Title |
Get the title of the book, as held in the table of contents.
| |
| toc |
Get the toc (table of contents) instance for the package.
| |
| UniqueIdentifierId |
Gets the unique_identifier attribute of the package element
| |
| ZipPath |
Get the full path to the package folder.
|