The XpsDocument type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| 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.) | |
| OnPropertyChanged |
Raised the PropertyChanged event.
(Inherited from NotifyPropertyChanged.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| AllPages |
Retrieves all pages from specified XPS document.
(Defined by XpsDocumentExtensions.) | |
| GetPage |
Gets the specified page from given XPS document.
(Defined by XpsDocumentExtensions.) | |
| TryParseLinkTarget |
Parses a link target identified with specified uri.
(Defined by XpsDocumentExtensions.) | |
| TryParsePageAddress |
Parses a page number from specified uri.
(Defined by XpsDocumentExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| Annotations |
Gets the annotations that are embedded in this document.
| |
| ContentTypes |
Gets the collection of content types defined for this XPS document.
| |
| CoreDocumentProperties |
Gets the core document properties.
| |
| FixedDocumentSequence |
Gets the sequence of fixed documents available in this XPS document instance.
| |
| Owner |
Gets the XPS document instance that contains this part.
(Inherited from XpsPartBase.) | |
| PackageReader |
Gets the package reader that is associated with this XPS document.
| |
| PageCount |
Gets the number of pages contained in this XPS document.
| |
| Relationships |
Gets the relationships.
(Inherited from XpsPart.) | |
| Thumbnail |
Gets the thumbnail image, if one exists, that is associated with this instance.
(Inherited from XpsPart.) | |
| Uri |
Gets or sets the uniform resource identifier (URI) of the part.
(Inherited from XpsPartBase.) | |
| Warnings |
Gets the warnings that occurred during the loading of this instace.
(Inherited from XpsPart.) |
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Occurs when a property value changes.
(Inherited from NotifyPropertyChanged.) |