AdjustValueList Class

List of Shape Adjust Values.When the object is serialized out as xml, its qualified name is a:avLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.GeometryGuideListType
        DocumentFormat.OpenXml.Drawing.AdjustValueList

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

Syntax

'Declaration
Public Class AdjustValueList _
    Inherits GeometryGuideListType
'Usage
Dim instance As AdjustValueList
public class AdjustValueList : GeometryGuideListType

Remarks

The following table lists the possible child types:

  • ShapeGuide <a:gd>

[ISO/IEC 29500-1 1st Edition]

20.1.9.5 avLst (List of Shape Adjust Values)

This element specifies the adjust values that are applied to the specified shape. An adjust value is simply a guide that has a value based formula specified. That is, no calculation takes place for an adjust value guide. Instead, this guide specifies a parameter value that is used for calculations within the shape guides.

[Example: Consider the case where the user would like to specify a triangle with it's bottom edge defined not by static points but by using a varying parameter, namely an adjust value. Consider the diagrams and DrawingML shown below. This first triangle has been drawn with a bottom edge that is equal to the height, namely 2. Thus we see in the figure below that the bottom of the triangle matches the bottom of the shape bounding box.

DocumentFormat.OpenXml.Drawing.AdjustValueList-ima

<a:xfrm>
<a:off x="3200400" y="1600200"/>
<a:ext cx="1705233" cy="679622"/>
</a:xfrm>
<a:custGeom>
<a:avLst>
<a:gd name="myGuide" fmla="val 2"/>
</a:avLst>
<a:gdLst/>
<a:ahLst/>
<a:cxnLst/>
<a:rect l="0" t="0" r="0" b="0"/>
  <a:pathLst>
<a:path w="2" h="2">
<a:moveTo>
<a:pt x="0" y="myGuide"/>
</a:moveTo>
      <a:lnTo>
<a:pt x="2" y="myGuide"/>
</a:lnTo>
      <a:lnTo>
<a:pt x="1" y="0"/>
</a:lnTo>
      <a:close/>
</a:path>
</a:pathLst>
</a:custGeom>

If however we change the adjust value to half that, namely 1. Then we see the entire bottom edge of the triangle move to now be placed along the vertical midpoint within the shape bounding box. This is because both of the bottom points in this triangle depend on this adjust value for their coordinate positions. The triangle and corresponding DrawingML shown below illustrate this point.

DocumentFormat.OpenXml.Drawing.AdjustValueList-ima

<a:avLst>
<a:gd name="myGuide" fmla="val 1"/>
</a:avLst>

end example]

Parent Elements

custGeom (§20.1.9.8); prstGeom (§20.1.9.18); prstTxWarp (§20.1.9.19)

Child Elements

Subclause

gd (Shape Guide)

§20.1.9.11

[Note: The W3C XML Schema definition of this element’s content model (CT_GeomGuideList) is located in §A.4.1. 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

AdjustValueList Members

DocumentFormat.OpenXml.Drawing Namespace