共用方式為


DiagramColorsPart.ColorsDefinition Property

Gets/Sets the root element of this part.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Property ColorsDefinition As ColorsDefinition
    Get
    Set
'Usage
Dim instance As DiagramColorsPart
Dim value As ColorsDefinition

value = instance.ColorsDefinition

instance.ColorsDefinition = value
public ColorsDefinition ColorsDefinition { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Drawing.Diagrams.ColorsDefinition

See Also

Reference

DiagramColorsPart Class

DiagramColorsPart Members

DocumentFormat.OpenXml.Packaging Namespace