Skip to content

API reference / Common / Engine types / ShapeGraphicFrame

Interface: ShapeGraphicFrame ​

A graphic frame (a:graphicFrame, CT_GraphicalObjectFrame): positions a non-shape graphic — a table, chart, diagram, or OLE object — within the shape tree.

Properties ​

PropertyDescription
id
string
The frame's stable [ShapeNodeId], which the tree and every edit address it by.
nonVisual
ShapeNonVisualProperties
a:nvGraphicFramePr/a:cNvPr — the frame's identity.
transform?
ShapeTransform
a:xfrm — the frame's placement. Unlike the other content kinds a frame has no a:spPr, so its transform sits here directly. None is unspecified. Exposed uniformly via ShapeNode::transform.
graphic
ShapeGraphicData
a:graphic/a:graphicData — the hosted payload. a:graphic itself is a content-free wrapper — one graphicData child and no attributes — so it flattens away, the way a:tblGrid does.