Parameter class
TOC
Collapse the table of content
Expand the table of content

Parameter class

Office 2013 and later

Parameter. When the object is serialized out as xml, its qualified name is dgm:param.

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

public class Parameter : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

param (Parameter)

The parameter element modifies the default behavior of an algorithm.

[Example: Consider the following example of a param being used in a DrawingML diagram:

<alg type="snake">
<param type="grDir" val="tL"/>
<param type="flowDir" val="row"/>
<param type="contDir" val="sameDir"/>
<param type="off" val="ctr"/>
</alg>

In this example we see the snake algorithm being utilized and four parameters being set which are associated with the snake algorithm and modify its behavior. end example]

Parent Elements

alg (§21.4.2.3)

Attributes

Description

type (Parameter Type)

Specifies the parameter which is being modified.

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

val (Value)

Specifies the actual value to be given to the parameter type defined by the type attribute.

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

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

© ISO/IEC29500: 2008.

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