Skip to main content

ShapePictureFill.Stretch Property

Gets or sets a value indicating whether the picture should be stretched to fill the chart element.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool Stretch { get; set; }

Property Value

Type Description
Boolean

true, to stretch the picture; otherwise, false. The default is true.

Remarks

If the Stretch property is set to true, the picture will be stretched over the surface of the chart element. Use the ShapeComplexFill.FillRect property of the ShapePictureFill object to specify where the picture fill should start.

If the Stretch property is set to false, the picture will be tiled to fill the available area of the chart element. Currently, tile options are not supported by the SpreadsheetControl and do not affect the chart appearance.

See Also