Einhugur Word Component for Buoy |

# Paragraph.AppendShapeGroup Method

Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. This function calls AppendShapeGroupRun, creating run, then it fetches the shape within the run.

AppendShapeGroup(
shapeType as ShapeTypes,
x as Double,
y as Double,
cx as Double,
cy as Double,
unit as EmuUnits) as ShapeGroup

#### 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

ShapeGroup
  The newly created ShapeGroup.

#### Remarks

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

Note that Shape support is very preliminary.
// We add 2 shapes which are grouped
p = doc.AppendParagraph("")
var group as ShapeGroup = p.AppendShapeGroup(ShapeTypes.Ellipse, 1,1.5,1,1, EmuUnits.Inches)
shape = group.AppendShape(ShapeTypes.Rectangle, 0.25, 0.25, 1.3, 1.3, EmuUnits.Inchen)
shape.SolidFillColor = Color.RGB(R: 1.0, G: 0.0 B: 1.0)
shape.Rotation = 35 35.0

#### See Also

Paragraph Class