A newer version of this page is available. Switch to the current version.

ShapeBrick.Shape Property

Gets or sets an object which determines a particular shape type along with its settings.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll


[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public ShapeBase Shape { get; set; }
<XtraSerializableProperty(XtraSerializationVisibility.Content, True)>
Public Property Shape As ShapeBase

Property Value

Type Description

A ShapeBase class descendant which contains settings for a particular shape type.


There are a lot of standard shape types supported by the ShapeBrick class. To specify the shape's type set the Shape property to an appropriate descendant of the ShapeBase class (e.g. set this property to a ShapeArrow object to get an arrow). Then the Shape property will return an object that corresponds to a particular shape's type and contains all the properties required by this type.

See Also