Click or drag to resize

GroupShapeAddShape Method (ShapeGeometryType, Double, Double, Double, Double)

Adds a new Shape to the current GroupShape.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public Shape AddShape(
	ShapeGeometryType shapeType,
	double left,
	double top,
	double width,
	double height
)

Parameters

shapeType
Type: GemBox.PresentationShapeGeometryType
Shape type (geometry) of a newly added shape.
left
Type: SystemDouble
The location of the left edge of the bounding box enclosing a newly added Shape relative to the left edge of the slide on which the Shape is being added (prior to any rotation or flipping).
top
Type: SystemDouble
the location of the top edge of the bounding box enclosing a newly added Shape relative to the top edge of the slide on which the Shape is being added (prior to any rotation or flipping).
width
Type: SystemDouble
The width of the bounding box enclosing a newly added Shape (prior to any rotation or flipping).
height
Type: SystemDouble
The height of the bounding box enclosing a newly added Shape (prior to any rotation or flipping).

Return Value

Type: Shape
A new Shape added to the current GroupShape.
Remarks
DefaultUnit is the measuring unit in which parameters left, top, width and height are specified.
See Also