Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeGradientFill.Scaled Property

Gets or sets a value indicating whether the gradient angle should be scaled with the fill region.

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

bool Scaled { get; set; }

Property Value

Type Description
Boolean

true, to scale the gradient angle with the fill region; otherwise, false.

Remarks

The Scaled property is relevant only when the linear gradient type is used (to obtain information about the gradient type applied to the chart element, utilize the ShapeGradientFill.GradientType property).

If the Scaled property is set to true, the gradient vector is scaled by the width and height of the fill region. If the Scaled property is false, the gradient angle becomes independent of the fill region and is not scaled.

Note

The Scaled property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.

See Also