PresentationDocument Members
Include Protected Members
Include Inherited Members
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Defines the package that represents a presentation document.
The PresentationDocument type exposes the following members.
Constructors
Name
Description
Creates a Presentation document.
Top
Properties
Name
Description
Gets / Sets the compression level for content of new part. (Inherited from OpenXmlPackage.)
Gets the CoreFilePropertiesPart of the Presentationdocument.
Gets the CustomFilePropertiesPart of the Presentationdocument.
Gets the DigitalSignatureOriginPart of the Presentationdocument.
Gets the type of the Presentationdocument.
Gets the ExtendedFilePropertiesPart of the Presentationdocument.
Enumerates all external relationships. (Inherited from OpenXmlPartContainer.)
Gets the current FileAccess IO setting for the document. (Inherited from OpenXmlPackage.)
Gets the Package of the document. (Inherited from OpenXmlPackage.)
Gets the PackageProperties of the Open XML document package. (Inherited from OpenXmlPackage.)
Defines a PartExtensionProvider, which provides a map from the ContentType to the part extension. (Inherited from OpenXmlPackage.)
Enumerates all parts that are relationship targets of this part. (Inherited from OpenXmlPartContainer.)
Gets the PresentationPart of the Presentationdocument.
Gets the ThumbnailPart of the Presentationdocument.
Top
Methods
Name
Description
Adds an object to the annotation list of this PartContainer. (Inherited from OpenXmlPartContainer.)
Adds a CoreFilePropertiesPart to the Presentationdocument.
Adds a CustomFilePropertiesPart to the Presentationdocument.
Adds a DigitalSignatureOriginPart to the Presentationdocument.
Adds an ExtendedFilePropertiesPart to the Presentationdocument.
AddExtendedPart(String, String, String)
Adds an extended part as an application specific part. (Inherited from OpenXmlPartContainer.)
AddExtendedPart(String, String, String, String)
Adds an extended part as an application specific part. (Inherited from OpenXmlPartContainer.)
AddExternalRelationship(String, Uri)
Adds an external relationship. (Inherited from OpenXmlPartContainer.)
AddExternalRelationship(String, Uri, String)
Adds an external relationship. (Inherited from OpenXmlPartContainer.)
Adds a new part of type T. (Inherited from OpenXmlPartContainer.)
Adds a new part of type T. (Inherited from OpenXmlPartContainer.)
Adds a new part of type T. (Overrides OpenXmlPartContainer.AddNewPart<T>(String, String).)
Adds the part to the document. Must use the returned part to operate the part added to the document. (Inherited from OpenXmlPackage.)
Adds the part to the document. Must use the returned part to open the part added to the document. (Inherited from OpenXmlPartContainer.)
Adds the part to the document with a given relationship identifier (ID). Must use the returned part to operate the part added to the document. (Inherited from OpenXmlPartContainer.)
Creates the PresentationPart and adds it to this document.
Adds a ThumbnailPart to the Presentationdocument.
AddThumbnailPart(ThumbnailPartType)
Adds a ThumbnailPart to the Presentationdocument.
Gets the first annotation object of the specified type from this PartContainer. (Inherited from OpenXmlPartContainer.)
Gets the first annotation object of the specified type from this PartContainer. (Inherited from OpenXmlPartContainer.)
Gets a collection of annotations of the specified type for this PartContainer. (Inherited from OpenXmlPartContainer.)
Gets a collection of annotations of the specified type for this PartContainer. (Inherited from OpenXmlPartContainer.)
Changes the document type.
Saves and closes the OpenXml package plus all underlying part streams. (Inherited from OpenXmlPackage.)
Create(Package, PresentationDocumentType)
Creates a new instance of the PresentationDocument class from the specified package.
Create(Stream, PresentationDocumentType)
Creates a new instance of the PresentationDocument class from the IO stream.
Create(String, PresentationDocumentType)
Creates a new instance of the PresentationDocument class from the specified file.
Deletes the external relationship. (Inherited from OpenXmlPartContainer.)
Deletes the specified child part from this part. (Inherited from OpenXmlPartContainer.)
Deletes a specified part in the package root layer. (Inherited from OpenXmlPartContainer.)
Deletes all the parts in the passed-in collection. (Inherited from OpenXmlPartContainer.)
DeletePartsRecursivelyOfType<T>
Recursively deletes all the parts that are the specified part type from the package. (Inherited from OpenXmlPackage.)
Flushes and saves the content, closes the document, and releases all resources. (Inherited from OpenXmlPackage.)
Flushes and saves the content, closes the document, and releases all resources. (Inherited from OpenXmlPackage.)
(Inherited from Object.)
(Inherited from Object.)
(Inherited from Object.)
Gets the relationship ID of the part. (Inherited from OpenXmlPartContainer.)
Gets the child part through the relationship ID. (Inherited from OpenXmlPartContainer.)
Gets the count of all parts in type T. (Inherited from OpenXmlPartContainer.)
Enumerates all the child parts of the specified type "T" of this part. (Inherited from OpenXmlPartContainer.)
GetPartsOfType<T>(ICollection<T>)
Gets all the child parts of the specified type "T" into "partCollection" of this part. (Inherited from OpenXmlPartContainer.)
(Inherited from Object.)
(Inherited from Object.)
Creates a new instance of the PresentationDocument class from the specified package.
Creates a new instance of the PresentationDocument class from the IO stream.
Creates a new instance of the PresentationDocument class from the specified file.
Removes the annotations of the specified type from this PartContainer. (Inherited from OpenXmlPartContainer.)
Removes the annotations of the specified type from this PartContainer. (Inherited from OpenXmlPartContainer.)
Throws an excpetion if the object is disposed. (Inherited from OpenXmlPackage.)
(Inherited from Object.)
Validates the package. However, it does not validate the XML content in each part. (Inherited from OpenXmlPackage.)
Top