Skip to main content

ShapeBrick.Shape Property

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public ShapeBase Shape { get; set; }

Property Value

Type Description
ShapeBase

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

Remarks

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