API Reference

Class

WordShapeGroupItem

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Modifiers sealed

Describes one bounded DrawingML shape inside a Word shape group. Coordinates are relative to the group's top-left corner and are expressed in points.

Inheritance

  • Object
  • WordShapeGroupItem

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public WordShapeGroupItem(ShapeType shapeType, Double leftPt, Double topPt, Double widthPt, Double heightPt) #

Creates a shape-group item.

Parameters

shapeType OfficeIMO.Word.ShapeType requiredposition: 0
leftPt System.Double requiredposition: 1
topPt System.Double requiredposition: 2
widthPt System.Double requiredposition: 3
heightPt System.Double requiredposition: 4

Properties

public ShapeType ShapeType { get; } #

Preset DrawingML geometry.

public Double LeftPt { get; } #

Horizontal position relative to the group.

public Double TopPt { get; } #

Vertical position relative to the group.

public Double WidthPt { get; } #

Shape width.

public Double HeightPt { get; } #

Shape height.

public String FillColorHex { get; set; } #

Optional RGB fill, with or without a leading '#'.

public String StrokeColorHex { get; set; } #

Optional RGB outline, with or without a leading '#'.