Freigeben über


GraphicFrame-Klasse

Graphic Frame.When the object is serialized out as xml, its qualified name is xdr:graphicFrame.

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(NonVisualGraphicFrameProperties))> _
<ChildElementInfoAttribute(GetType(Transform))> _
<ChildElementInfoAttribute(GetType(Graphic))> _
Public Class GraphicFrame _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GraphicFrame
[ChildElementInfoAttribute(typeof(NonVisualGraphicFrameProperties))]
[ChildElementInfoAttribute(typeof(Transform))]
[ChildElementInfoAttribute(typeof(Graphic))]
public class GraphicFrame : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • NonVisualGraphicFrameProperties <xdr:nvGraphicFramePr>

  • Transform <xdr:xfrm>

  • DocumentFormat.OpenXml.Drawing.Graphic <a:graphic>

[ISO/IEC 29500-1 1. Ausgabe]

20.5.2.16 graphicFrame (Graphic Frame)

This element describes a single graphical object frame for a spreadsheet which contains a graphical object.

Parent Elements

absoluteAnchor (§20.5.2.1); grpSp (§20.5.2.17); oneCellAnchor (§20.5.2.24); twoCellAnchor (§20.5.2.33)

Child Elements

Subclause

graphic (Graphic Object)

§20.1.2.2.16

nvGraphicFramePr (Non-Visual Properties for a Graphic Frame)

§20.5.2.20

xfrm (2D Transform for Graphic Frames)

§20.5.2.36

Attributes

Description

fPublished (Publish to Server Flag)

This attribute indicates whether the shape shall be published with the worksheet when sent to the server.

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

macro (Reference To Custom Function)

This element specifies the custom function associated with the object. [Example: A macro script, add-in function, and so on. end example]

The format of this string shall be application-defined, and should be ignored if not understood.

[Example:

< … macro="DoWork()" />

end example]

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_GraphicalObjectFrame) is located in §A.4.5. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

GraphicFrame-Member

DocumentFormat.OpenXml.Drawing.Spreadsheet-Namespace