Поделиться через


AbsoluteAnchorSize Class

Absolute Anchor Shape Size.When the object is serialized out as xml, its qualified name is cdr:absSizeAnchor.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ChartDrawing.AbsoluteAnchorSize

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

Syntax

'Декларация
<ChildElementInfoAttribute(GetType(Extent))> _
<ChildElementInfoAttribute(GetType(GroupShape))> _
<ChildElementInfoAttribute(GetType(GraphicFrame))> _
<ChildElementInfoAttribute(GetType(ConnectionShape))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(ContentPart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FromAnchor))> _
<ChildElementInfoAttribute(GetType(Shape))> _
Public Class AbsoluteAnchorSize _
    Inherits OpenXmlCompositeElement
'Применение
Dim instance As AbsoluteAnchorSize
[ChildElementInfoAttribute(typeof(Extent))]
[ChildElementInfoAttribute(typeof(GroupShape))]
[ChildElementInfoAttribute(typeof(GraphicFrame))]
[ChildElementInfoAttribute(typeof(ConnectionShape))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FromAnchor))]
[ChildElementInfoAttribute(typeof(Shape))]
public class AbsoluteAnchorSize : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • FromAnchor <cdr:from>

  • Extent <cdr:ext>

  • Shape <cdr:sp>

  • GroupShape <cdr:grpSp>

  • GraphicFrame <cdr:graphicFrame>

  • ConnectionShape <cdr:cxnSp>

  • Picture <cdr:pic>

  • DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing.ContentPart <cdr14:contentPart>

[ISO/IEC 29500-1 редакция 1]

21.3.2.1 absSizeAnchor (Absolute Anchor Shape Size)

This element specifies that the shape described here to reside within a chart should be sized based on relative anchor points. This is achieved via two elements. The from element specifies the top left corner of the shape bounding box in a RTL(right-to-left) implementation. The ext element then specifies the bottom right corner of the shape bounding box in a RTL(right-to-left) implementation and thus the size of the shape.

Parent Elements

userShapes (§21.2.2.220)

Child Elements

Subclause

cxnSp (Connection Shape)

§21.3.2.9

ext (Shape Extent)

§21.3.2.10

from (Starting Anchor Point)

§21.3.2.11

graphicFrame (Graphic Frame)

§21.3.2.12

grpSp (Group Shape)

§21.3.2.13

pic (Picture)

§21.3.2.20

sp (Shape)

§21.3.2.22

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

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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

AbsoluteAnchorSize Members

DocumentFormat.OpenXml.Drawing.ChartDrawing Namespace