Einhugur Word Plugin for Xojo |

# Paragraph.AppendShapeGroupRun Method

Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShapeGroup function which only returns the shape group.

AppendShapeGroupRun(
shapeType as EinhugurWord.ShapeTypes,
x as Double,
y as Double,
cx as Double,
cy as Double,
unit as EinhugurWord.EmuUnits) as EinhugurWord.Run

#### Parameters

shapeType
  The type of the first shape in the group.
x
  X Location of the shape from start of the paragraph.
y
  Y Location of the shape from start of the paragraph.
cx
  Width or x portion 2nd point of the shape.
cy
  Width or y portion 2nd point of the shape.
unit
  Unit for the shape.

#### Returns

EinhugurWord.Run
  The newly created Run which contains the ShapeGroup.

#### Remarks

A shape group is one or more shapes which have been groupped.

Note that Shape support is very preliminary.

#### See Also

Paragraph Class