dxSpreadSheetDrawBorder(TcxCanvas,TRect,TColor,TColor,TdxSpreadSheetCellBorderStyle,Boolean) Method
Paints the cell borders.
Declaration
procedure dxSpreadSheetDrawBorder(ACanvas: TcxCanvas; R: TRect; AColor: TColor; ABackgroundColor: TColor; AStyle: TdxSpreadSheetCellBorderStyle; AIsHorizontalBorder: Boolean);
Parameters
Name | Type |
---|---|
ACanvas | TcxCanvas |
R | TRect |
AColor | TColor |
ABackgroundColor | TColor |
AStyle | TdxSpreadSheetCellBorderStyle |
AIsHorizontalBorder | Boolean |
Remarks
This procedure is used to paint the horizontal and vertical borders separating cells in the Table View worksheets.
The ACanvas parameter specifies the cell border canvas; the R parameter specifies the rectangle filled by the border.
The ABackgroundColor, AForegroundColor, and AStyle parameters specify the cell background color, the border color and the visual style of the border.
The AIsHorizontalBorder parameter specifies whether the painted borderline is horizontal.
See Also