Skip to main content

ShapeBrick.Stretch Property

Gets or sets a value indicating whether or not to stretch a shape when it’s rotated.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

[DefaultValue(false)]
public bool Stretch { get; set; }

Property Value

Type Default Description
Boolean false

true to stretch the shape; otherwise, false.

Remarks

Use the Stretch property to determine whether a shape’s image should be stretched to fit the entire size of a control. Otherwise, its proportions should be preserved.

Note

Note that the Stretch property is in effect only if the shape is rotated (its ShapeBrick.Angle property value is not 0).

See Also