共用方式為


AbsoluteAnchor Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Spreadsheet.AbsoluteAnchor

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Extent))> _
<ChildElementInfoAttribute(GetType(Position))> _
<ChildElementInfoAttribute(GetType(ContentPart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(GroupShape))> _
<ChildElementInfoAttribute(GetType(GraphicFrame))> _
<ChildElementInfoAttribute(GetType(ConnectionShape))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(Shape))> _
<ChildElementInfoAttribute(GetType(ClientData))> _
Public Class AbsoluteAnchor _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As AbsoluteAnchor
[ChildElementInfoAttribute(typeof(Extent))]
[ChildElementInfoAttribute(typeof(Position))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GroupShape))]
[ChildElementInfoAttribute(typeof(GraphicFrame))]
[ChildElementInfoAttribute(typeof(ConnectionShape))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(Shape))]
[ChildElementInfoAttribute(typeof(ClientData))]
public class AbsoluteAnchor : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Position <xdr:pos>

  • Extent <xdr:ext>

  • Shape <xdr:sp>

  • GroupShape <xdr:grpSp>

  • GraphicFrame <xdr:graphicFrame>

  • ConnectionShape <xdr:cxnSp>

  • Picture <xdr:pic>

  • ContentPart <xdr:contentPart>

  • ClientData <xdr:clientData>

[ISO/IEC 29500-1 1st Edition]

20.5.2.1 absoluteAnchor (Absolute Anchor Shape Size)

This element is used as an anchor placeholder for a shape or group of shapes. It anchors the object in the same position relative to sheet position and its extents are in EMU units.

Parent Elements

wsDr (§20.5.2.35)

Child Elements

Subclause

clientData (Client Data)

§20.5.2.3

contentPart (Content Part)

§20.5.2.12

cxnSp (Connection Shape)

§20.5.2.13

ext (Shape Extent)

§20.5.2.14

graphicFrame (Graphic Frame)

§20.5.2.16

grpSp (Group Shape)

§20.5.2.17

pic (Picture)

§20.5.2.25

pos (Position)

§20.5.2.26

sp (Shape)

§20.5.2.29

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

AbsoluteAnchor Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace