Compartilhar via


PropertySet Class

Property Set.When the object is serialized out as xml, its qualified name is dgm:prSet.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.PropertySet

Namespace:  DocumentFormat.OpenXml.Drawing.Diagrams
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(PresentationLayoutVariables))> _
<ChildElementInfoAttribute(GetType(Style))> _
Public Class PropertySet _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PropertySet
[ChildElementInfoAttribute(typeof(PresentationLayoutVariables))]
[ChildElementInfoAttribute(typeof(Style))]
public class PropertySet : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • PresentationLayoutVariables <dgm:presLayoutVars>

  • Style <dgm:style>

[ISO/IEC 29500-1 1st Edition]

21.4.3.4 prSet (Property Set)

This element holds properties and customizations which are used throughout certain elements in DiagramML. The properties can be grouped into the following general categories:

  • Presentation Properties - presLayoutVars, style, presAssocId, presName, presStyleLbl, presStyleIdx, presStyleCnt

  • Document Properties - loTypeId, loCatId, qsTypeId, qaCatId, csTypeId, coherent3DOff

  • Semantic Element Properties - phldrT, phldr

  • Customization Properties - custAng, custFlipVert, custFlipHor, custSzX, custSzY, custScaleX, custScaleY, custT, custLinFactX, custLinFactY, custLinFactNeighborX, custLinFactNeighborY, custRadScaleRad, custRadScaleInc

[Example: Consider the basic example of prSet in use in DrawingML on a document point type:

<prSet loTypeId="urn:microsoft.com/office/officeart/2005/8/layout/default" loCatId="list" qsTypeId="urn:microsoft.com/office/officeart/2005/8/quickstyle/3d1" qsCatId="3D" csTypeId="urn:microsoft.com/office/officeart/2005/8/colors/colorful2" csCatId="colorful" phldr="1"/>

In this example we define the layout identifier, the category of the layout, the quick style identifier, the quick style category, along with the color style and color style category. end example]

Parent Elements

pt (§21.4.3.5)

Child Elements

Subclause

presLayoutVars (Presentation Layout Variables)

§21.4.5.4

style (Shape Style)

§21.4.2.28

Attributes

Description

coherent3DOff (Coherent 3D Behavior)

Enables or disables the Coherent 3D behavior for styles that specify this property.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

csCatId (Color Transform Category)

This attribute specifies the identifier of the current color transform category.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

csTypeId (Color Transform Type Identifier)

This attribute specifies the identifier of the currently applied color transform.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

custAng (Custom Rotation)

Specifies the amount that rotation is customized by.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custFlipHor (Custom Horizontal Flip)

Specifies if there is a custom horizontal flip applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

custFlipVert (Custom Vertical Flip)

Specifies if there is a custom vertical flip applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

custLinFactNeighborX (Neighbor Offset Width)

Specifies the percentage of the neighbor's width used for offsetting shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custLinFactNeighborY (Neighbor Offset Height)

Specifies the percentage of the neighbor's height used for offsetting shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custLinFactX (Custom Factor Width)

Specifies the percentage of the current shape width used for offsetting the shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custLinFactY (Custom Factor Height)

Specifies the percentage of the current shape height used for offsetting the shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custRadScaleInc (Include Angle Scale)

Specifies the amount that the include angle has been scaled by.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custRadScaleRad (Radius Scale)

Specifies how much the radius has been scaled.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custScaleX (Width Scale)

Specifies the amount that the width has been scaled by.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custScaleY (Height Scale)

Specifies the amount that the height has been scaled by.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custSzX (Fixed Width Override)

Specifies a fixed width override for a shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custSzY (Fixed Height Override)

Specifies a fixed height override for a shape.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

custT (Text Changed)

Specifies if the text has been customized which allows layout to ignore automatic formatting options available to the text.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

loCatId (Current Diagram Category)

Specifies the current identifier of the layout category applied to the diagram.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

loTypeId (Current Diagram Type)

Specifies the identifier for the layout currently applied to the diagram.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

phldr (Placeholder)

Indicates that the point is a placeholder or sample item.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

phldrT (Placeholder Text)

The text used for display in the element if the placeholder flag is set to true. If this property is not set then the default placeholder text is used.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

presAssocID (Presentation Element Identifier)

The point associated with this presentation element. This identifier is used together with presName to create a unique key for presentation element indexing.

The possible values for this attribute are defined by the ST_ModelId simple type (§21.4.7.43).

presName (Presentation Name)

The layout node name of this presentation element. This name is used together with presAssocID to create a unique key for presentation element indexing.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

presStyleCnt (Presentation Style Count)

Specifies the layout node style count of this presentation element.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

presStyleIdx (Presentation Style Index)

Specifies the layout node style index of this presentation element.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

presStyleLbl (Presentation Style Label)

Specifies the layout node style label of this presentation element.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

qsCatId (Current Style Category)

Specifies the identifier of the category of the currently applied quick style.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

qsTypeId (Current Style Type)

Specifies the identifier of the currently applied quick style.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_ElemPropSet) is located in §A.5.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PropertySet Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace