DrawingsPart DrawingsPart DrawingsPart Class

Definition

Defines the DrawingsPart.

public class DrawingsPart : DocumentFormat.OpenXml.Packaging.OpenXmlPart, DocumentFormat.OpenXml.Packaging.IFixedContentTypePart
type DrawingsPart = class
    inherit OpenXmlPart
    interface IFixedContentTypePart
Public Class DrawingsPart
Inherits OpenXmlPart
Implements IFixedContentTypePart
Inheritance
Implements

Constructors

DrawingsPart() DrawingsPart() DrawingsPart()

Construtor of DrawingsPart

Properties

ChartParts ChartParts ChartParts

Gets the ChartParts of the DrawingsPart.

ContentType ContentType ContentType

Gets the ContentType.

CustomXmlParts CustomXmlParts CustomXmlParts

Gets the CustomXmlParts of the DrawingsPart.

DataPartReferenceRelationships DataPartReferenceRelationships DataPartReferenceRelationships

Enumerates all DataPartReferenceRelationship relationships.

(Inherited from OpenXmlPartContainer)
DiagramColorsParts DiagramColorsParts DiagramColorsParts

Gets the DiagramColorsParts of the DrawingsPart.

DiagramDataParts DiagramDataParts DiagramDataParts

Gets the DiagramDataParts of the DrawingsPart.

DiagramLayoutDefinitionParts DiagramLayoutDefinitionParts DiagramLayoutDefinitionParts

Gets the DiagramLayoutDefinitionParts of the DrawingsPart.

DiagramPersistLayoutParts DiagramPersistLayoutParts DiagramPersistLayoutParts

Gets the DiagramPersistLayoutParts of the DrawingsPart.

DiagramStyleParts DiagramStyleParts DiagramStyleParts

Gets the DiagramStyleParts of the DrawingsPart.

ExternalRelationships ExternalRelationships ExternalRelationships

Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships.

(Inherited from OpenXmlPartContainer)
HyperlinkRelationships HyperlinkRelationships HyperlinkRelationships

Enumerates all hyperlink relationships.

(Inherited from OpenXmlPartContainer)
ImageParts ImageParts ImageParts

Gets the ImageParts of the DrawingsPart.

OpenXmlPackage OpenXmlPackage OpenXmlPackage

Represents a part that is in the OpenXmlPackage container.

(Inherited from OpenXmlPart)
Parts Parts Parts

Enumerates all parts which are relationship targets of this part.

(Inherited from OpenXmlPartContainer)
RelationshipType RelationshipType RelationshipType

Gets the RelationshipType.

RootElement RootElement RootElement

Gets the root element of the current part. Returns null when the current part is empty or is not and XML content type.

(Inherited from OpenXmlPart)
Uri Uri Uri

Represents the internal part path in the package.

(Inherited from OpenXmlPart)
WebExtensionParts WebExtensionParts WebExtensionParts

Gets the WebExtensionParts of the DrawingsPart., only available in Office2013

WorksheetDrawing WorksheetDrawing WorksheetDrawing

Gets/Sets the root element of this part.

Methods

AddAnnotation(Object) AddAnnotation(Object) AddAnnotation(Object)

Adds an object to the annotation list of this PartContainer.

(Inherited from OpenXmlPartContainer)
AddCustomXmlPart(CustomXmlPartType) AddCustomXmlPart(CustomXmlPartType) AddCustomXmlPart(CustomXmlPartType)

Adds a CustomXmlPart to the DrawingsPart.

AddCustomXmlPart(CustomXmlPartType, String) AddCustomXmlPart(CustomXmlPartType, String) AddCustomXmlPart(CustomXmlPartType, String)

Adds a CustomXmlPart to the DrawingsPart.

AddCustomXmlPart(String) AddCustomXmlPart(String) AddCustomXmlPart(String)

Adds a CustomXmlPart to the DrawingsPart.

AddCustomXmlPart(String, String) AddCustomXmlPart(String, String) AddCustomXmlPart(String, String)

Adds a CustomXmlPart to the DrawingsPart.

AddExtendedPart(String, String, String) AddExtendedPart(String, String, String) AddExtendedPart(String, String, String)

Adds an extended part ( Application specific part ).

(Inherited from OpenXmlPartContainer)
AddExtendedPart(String, String, String, String) AddExtendedPart(String, String, String, String) AddExtendedPart(String, String, String, String)

Adds an extended part ( Application specific part ).

(Inherited from OpenXmlPartContainer)
AddExternalRelationship(String, Uri) AddExternalRelationship(String, Uri) AddExternalRelationship(String, Uri)

Adds an external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.

(Inherited from OpenXmlPartContainer)
AddExternalRelationship(String, Uri, String) AddExternalRelationship(String, Uri, String) AddExternalRelationship(String, Uri, String)

Adds an external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.

(Inherited from OpenXmlPartContainer)
AddHyperlinkRelationship(Uri, Boolean) AddHyperlinkRelationship(Uri, Boolean) AddHyperlinkRelationship(Uri, Boolean)

Adds a new hyperlink relationship.

(Inherited from OpenXmlPartContainer)
AddHyperlinkRelationship(Uri, Boolean, String) AddHyperlinkRelationship(Uri, Boolean, String) AddHyperlinkRelationship(Uri, Boolean, String)

Adds a new hyperlink relationship.

(Inherited from OpenXmlPartContainer)
AddImagePart(ImagePartType) AddImagePart(ImagePartType) AddImagePart(ImagePartType)

Adds a ImagePart to the DrawingsPart.

AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String)

Adds a ImagePart to the DrawingsPart.

AddImagePart(String) AddImagePart(String) AddImagePart(String)

Adds a ImagePart to the DrawingsPart.

AddImagePart(String, String) AddImagePart(String, String) AddImagePart(String, String)

Adds a ImagePart to the DrawingsPart.

AddNewPart<T>() AddNewPart<T>() AddNewPart<T>()

Adds a new part of type T.

(Inherited from OpenXmlPartContainer)
AddNewPart<T>(String) AddNewPart<T>(String) AddNewPart<T>(String)

Adds a new part of type T.

(Inherited from OpenXmlPartContainer)
AddNewPart<T>(String, String) AddNewPart<T>(String, String) AddNewPart<T>(String, String)

Adds a new part of type T.

(Inherited from OpenXmlPartContainer)
AddPart<T>(T) AddPart<T>(T) AddPart<T>(T)

Adds the part to the document. Must use the returned part to operate on the part added to the document.

(Inherited from OpenXmlPartContainer)
AddPart<T>(T, String) AddPart<T>(T, String) AddPart<T>(T, String)

Adds the part to the document with a given relationship identifier (ID). Must use the returned part to operate on the part added to the document

(Inherited from OpenXmlPartContainer)
Annotation(Type) Annotation(Type) Annotation(Type)

Get the first annotation object of the specified type from this PartContainer.

(Inherited from OpenXmlPartContainer)
Annotation<T>() Annotation<T>() Annotation<T>()

Get the first annotation object of the specified type from this PartContainer.

(Inherited from OpenXmlPartContainer)
Annotations(Type) Annotations(Type) Annotations(Type)

Gets a collection of annotations of the specified type for this PartContainer.

(Inherited from OpenXmlPartContainer)
Annotations<T>() Annotations<T>() Annotations<T>()

Gets a collection of annotations of the specified type for this PartContainer.

(Inherited from OpenXmlPartContainer)
ChangeIdOfPart(OpenXmlPart, String) ChangeIdOfPart(OpenXmlPart, String) ChangeIdOfPart(OpenXmlPart, String)

Changes the relationship ID of the part.

(Inherited from OpenXmlPartContainer)
CreateRelationshipToPart(OpenXmlPart) CreateRelationshipToPart(OpenXmlPart) CreateRelationshipToPart(OpenXmlPart)

Adds a relationship for the specified part to this part.

(Inherited from OpenXmlPartContainer)
CreateRelationshipToPart(OpenXmlPart, String) CreateRelationshipToPart(OpenXmlPart, String) CreateRelationshipToPart(OpenXmlPart, String)

Adds a relationship for the specified part to this part.

(Inherited from OpenXmlPartContainer)
DeleteExternalRelationship(ExternalRelationship) DeleteExternalRelationship(ExternalRelationship) DeleteExternalRelationship(ExternalRelationship)

Deletes the specified external relationship.

(Inherited from OpenXmlPartContainer)
DeleteExternalRelationship(String) DeleteExternalRelationship(String) DeleteExternalRelationship(String)

Deletes the specified ExternalRelationship.

(Inherited from OpenXmlPartContainer)
DeletePart(OpenXmlPart) DeletePart(OpenXmlPart) DeletePart(OpenXmlPart)

Deletes a specified part in the package root layer.

(Inherited from OpenXmlPartContainer)
DeletePart(String) DeletePart(String) DeletePart(String)

Deletes the specified child part from this part.

(Inherited from OpenXmlPartContainer)
DeleteParts<T>(IEnumerable<T>) DeleteParts<T>(IEnumerable<T>) DeleteParts<T>(IEnumerable<T>)

Deletes all the parts which are in the passed in collection from the document.

(Inherited from OpenXmlPartContainer)
DeleteReferenceRelationship(ReferenceRelationship) DeleteReferenceRelationship(ReferenceRelationship) DeleteReferenceRelationship(ReferenceRelationship)

Deletes the specified reference relationship.

(Inherited from OpenXmlPartContainer)
DeleteReferenceRelationship(String) DeleteReferenceRelationship(String) DeleteReferenceRelationship(String)

Deletes the specified reference relationship.

(Inherited from OpenXmlPartContainer)
FeedData(Stream) FeedData(Stream) FeedData(Stream)

Feeds data into the part stream. The stream of the part will be truncated at first.

(Inherited from OpenXmlPart)
GetExternalRelationship(String) GetExternalRelationship(String) GetExternalRelationship(String)

Gets the specified ExternalRelationship.

(Inherited from OpenXmlPartContainer)
GetIdOfPart(OpenXmlPart) GetIdOfPart(OpenXmlPart) GetIdOfPart(OpenXmlPart)

Gets the relationship ID of the part.

(Inherited from OpenXmlPartContainer)
GetParentParts() GetParentParts() GetParentParts()

Enumerates all parents that reference this part anywhere in the document.

(Inherited from OpenXmlPart)
GetPartById(String) GetPartById(String) GetPartById(String)

Gets the child part through the relationship ID.

(Inherited from OpenXmlPartContainer)
GetPartsCountOfType<T>() GetPartsCountOfType<T>() GetPartsCountOfType<T>()

Gets the count of all parts of type T.

(Inherited from OpenXmlPartContainer)
GetPartsOfType<T>() GetPartsOfType<T>() GetPartsOfType<T>()

Enumerates all the children parts of the specified type "T" of this part.

(Inherited from OpenXmlPartContainer)
GetPartsOfType<T>(ICollection<T>) GetPartsOfType<T>(ICollection<T>) GetPartsOfType<T>(ICollection<T>)

Gets all the children parts of the specified type "T" into "partCollection" of this part.

(Inherited from OpenXmlPartContainer)
GetReferenceRelationship(String) GetReferenceRelationship(String) GetReferenceRelationship(String)

Gets the specified ReferenceRelationship.

(Inherited from OpenXmlPartContainer)
GetStream() GetStream() GetStream()

Returns the part content data stream.

(Inherited from OpenXmlPart)
GetStream(FileMode) GetStream(FileMode) GetStream(FileMode)

Returns the content stream that was opened using a specified I/O FileMode.

(Inherited from OpenXmlPart)
GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess)

Returns the part content stream that was opened using a specified FileMode and FileAccess.

(Inherited from OpenXmlPart)
RemoveAnnotations(Type) RemoveAnnotations(Type) RemoveAnnotations(Type)

Removes the annotations of the specified type from this PartContainer.

(Inherited from OpenXmlPartContainer)
RemoveAnnotations<T>() RemoveAnnotations<T>() RemoveAnnotations<T>()

Removes the annotations of the specified type from this PartContainer.

(Inherited from OpenXmlPartContainer)
ThrowIfObjectDisposed() ThrowIfObjectDisposed() ThrowIfObjectDisposed()

Indicates whether the object is already disposed.

(Inherited from OpenXmlPart)
ValidateXml(String, ValidationEventHandler) ValidateXml(String, ValidationEventHandler) ValidateXml(String, ValidationEventHandler)

Validates the XML content of the part by using the specified schema.

(Inherited from OpenXmlPart)
ValidateXml(XmlSchemaSet, ValidationEventHandler) ValidateXml(XmlSchemaSet, ValidationEventHandler) ValidateXml(XmlSchemaSet, ValidationEventHandler)

Validates the XML content of the part by using the specified schema.

(Inherited from OpenXmlPart)

Applies to