TDrawingConditionalFormatDataBar.Create Method
Creates a new struct and initialized the data.
Syntax
Unit: FlexCel.Core
class function TDrawingConditionalFormatDataBar.Create(const aHasDataBar: Boolean; const aHideValues: Boolean; const aRectangle: TUIRectangle; const aFillColor: TUIColor; const aBorderColor: TUIColor; const aAxisColor: TUIColor; const aIsGradient: Boolean; const aIsRightToLeft: Boolean): TDrawingConditionalFormatDataBar; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aHasDataBar | Boolean | If true, the format has a databar. |
const | aHideValues | Boolean | If true, the cell text won't be displayed. |
const | aRectangle | TUIRectangle | Rectangle of the databar in coordinates relative to the cell. 0 means Left and Top, 1 right and bottom. |
const | aFillColor | TUIColor | Color for the fill of the databar. |
const | aBorderColor | TUIColor | Color for the border of the DataBar. TUIColor.Empty means no border. |
const | aAxisColor | TUIColor | Color for the axis where the databar crosses 0. If this is TUIColor.Empty, no axis should be drawn. If not empty the position depends in the value of IsRightToLeft parameter. |
const | aIsGradient | Boolean | If true, this databar has a gradient fill. |
const | aIsRightToLeft | Boolean | If true, the databar goes right to left and the gradient must go right to left too. |