Click or drag to resize

Shape Constructor

Initializes a new instance of the Shape class.

Namespace:  GemBox.Document.Drawing
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 29.0.35.1031
Syntax
public Shape(
	DocumentModel document,
	ShapeType shapeType,
	Layout layout
)

Parameters

document
Type: GemBox.DocumentDocumentModel
The owner document.
shapeType
Type: GemBox.Document.DrawingShapeType
Type of the shape.
layout
Type: GemBox.DocumentLayout
The shape's layout (position and size).
Exceptions
ExceptionCondition
ArgumentNullExceptionlayout is .
See Also