Click or drag to resize

ShapeType Enumeration

Represents an enumeration of supported built-in shape types.

Namespace:  GemBox.Document.Drawing
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 29.0.35.1031
Syntax
public enum ShapeType
Members
  Member nameValueDescription
Rectangle0 The rectangle.
Line1 The line.
Oval2 The oval (ellipse).
RoundedRectangle3

The rectangle with rounded corners.

Use adjust value 'adj' to specify the amount of roundness for a rounded rectangle as a percentage of the smaller dimension of the width and height of the rectangle. Adjust value should be in range from 0 to 50000. Value of 0 yields square corners (like Rectangle) and value of 50000 forms circular corners (a square with adjust value of 50000 is a circle). Default value is 16667, which means that rounded corner radius will be 16.667% of the smaller dimension of the width and height of the rectangle.

Custom4

The custom shape type.

This member is only used when shape is read from the file, but its actual type is currently not supported.

Remarks
For more information about shapes and layout, see shapes and layout article and shapes example.
See Also