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.v19.2.Core.dll

Declaration

[DefaultValue(false)]
public bool Stretch { get; set; }
<DefaultValue(False)>
Public Property Stretch As Boolean

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).

Implements

DevExpress.XtraPrinting.Shape.Native.IShapeDrawingInfo.Stretch
See Also