GraphicFrame Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.GraphicFrame

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

Syntax

声明
<ChildElementInfoAttribute(GetType(NonVisualGraphicFrameProperties))> _
<ChildElementInfoAttribute(GetType(Transform))> _
<ChildElementInfoAttribute(GetType(Graphic))> _
<ChildElementInfoAttribute(GetType(ExtensionListWithModification))> _
Public Class GraphicFrame _
    Inherits OpenXmlCompositeElement
用法
Dim instance As GraphicFrame
[ChildElementInfoAttribute(typeof(NonVisualGraphicFrameProperties))]
[ChildElementInfoAttribute(typeof(Transform))]
[ChildElementInfoAttribute(typeof(Graphic))]
[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
public class GraphicFrame : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NonVisualGraphicFrameProperties <p:nvGraphicFramePr>

  • Transform <p:xfrm>

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

  • ExtensionListWithModification <p:extLst>

[ISO/IEC 29500-1 第 1 个版本]

19.3.1.21 graphicFrame (Graphic Frame)

This element specifies the existence of a graphics frame. This frame contains a graphic that was generated by an external source and needs a container in which to be displayed on the slide surface.

Parent Elements

grpSp (§19.3.1.22); spTree (§19.3.1.45)

Child Elements

Subclause

extLst (Extension List with Modification Flag)

§19.3.1.20

graphic (Graphic Object)

§20.1.2.2.16

nvGraphicFramePr (Non-Visual Properties for a Graphic Frame)

§19.3.1.30

xfrm (2D Transform for Graphic Frame)

§19.3.1.53

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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

GraphicFrame Members

DocumentFormat.OpenXml.Presentation Namespace