run | XElement | read-only |
adjustments | ShapeAdjustments | read-only The preset’s adjustment handles (PowerPoint.Shape.adjustments). |
allowOverlap | boolean | wp:anchor@allowOverlap — authored for Word; this renderer never collision-shifts. |
altTextDescription | string | |
altTextTitle | string | |
behindText | boolean | wp:anchor@behindDoc — painted under the text. |
body | Body | read-only The text (w:txbxContent) as a block-level scope; a GeometricShape gets one on first use, as typing into it in Word does. |
effectExtent | EffectExtent | Extension: wp:effectExtent, the room Word keeps around the frame for its effects. |
fill | ShapeFill | read-only The fill surface of a textbox or free geometric shape; throws otherwise. |
geometricShapeType | GeometricShapeType | undefined | Word’s name for a:prstGeom/@prst; undefined for pictures, groups and unnamed presets. |
height | number | Frame height in points. |
horizontalAlignment | ”Left” | “Right” | “Inside” | “Center” | “Outside” | undefined | wp:positionH/wp:align; undefined when the position is an offset. |
horizontalFlip | boolean | read-only VBA Shape.HorizontalFlip: a:xfrm@flipH. |
id | number | read-only wp:docPr@id — stable within the document; what layout queries key on. A group member reports its cNvPr@id. |
imageFormat | ImageFormat | read-only |
isChild | boolean | read-only True for a member of a group drawing; anchor members (wrap, position, size) then throw. |
layoutInCell | boolean | Extension (VBA Shape.LayoutInCell): a shape anchored in a table cell is laid out in that cell. |
left | number | Horizontal offset in points from the anchor’s reference edge. |
line | ShapeLine | read-only The outline (a:ln) of a textbox, geometric shape or picture; throws for groups and canvases. |
lockAspectRatio | boolean | noChangeAspect on the shape’s own locks or the anchor’s a:graphicFrameLocks. |
name | string | The anchor’s wp:docPr name, e.g. “Text Box 3”. |
parentGroup | Shape | undefined | read-only The top-level group a member belongs to; undefined for a top-level shape. |
pictureFormat | PictureFormat | read-only Extension: VBA’s Shape.PictureFormat, for the crop members of a top-level picture. |
reflection | ReflectionFormat | read-only VBA Shape.Reflection: the a:reflection in a:effectLst. |
relativeHorizontalPosition | ”Page” | “Column” | “Character” | “Margin” | “LeftMargin” | “RightMargin” | “InsideMargin” | “OutsideMargin” | undefined | wp:positionH/@relativeFrom — what left and horizontalAlignment are measured against. |
relativeVerticalPosition | ”Page” | “Line” | “Paragraph” | “Margin” | “InsideMargin” | “OutsideMargin” | “TopMargin” | “BottomMargin” | undefined | wp:positionV/@relativeFrom — what top and verticalAlignment are measured against. |
rotation | number | a:xfrm@rot in degrees, clockwise, in [0, 360); a group turns its whole frame. |
shadow | ShapeShadow | read-only Word.ShadowFormat (VBA Shape.Shadow): the outer shadow in a:effectLst. |
shapeGroup | ShapeGroup | read-only The members of a GroupShape; throws for any other type. |
textFrame | TextFrame | read-only The textbox’s text-body properties (wps:bodyPr): anchoring, insets, autofit. |
textWrap | ShapeTextWrap | read-only Word.ShapeTextWrap spelling of wrap, wrapSide and behindText, plus the anchor distances. |
top | number | Vertical offset in points from the anchor’s reference edge. |
type | ShapeType | read-only |
verticalAlignment | ”Inside” | “Top” | “Bottom” | “Center” | “Outside” | undefined | wp:positionV/wp:align; undefined when the position is an offset. |
verticalFlip | boolean | read-only VBA Shape.VerticalFlip: a:xfrm@flipV. |
visible | boolean | wp:docPr@hidden inverted. A hidden shape stays in the file but paints nothing: the bundled layout engine skips it entirely. |
width | number | Frame width in points. |
wrap | ”None” | “Square” | “Tight” | “TopAndBottom” | “Through” | Which wp:wrap* child the anchor carries. |
wrapSide | ”Left” | “Right” | “Both” | “Largest” | undefined | Which side text flows on; undefined unless the wrap is square/tight/through. |