TBasedxReportLink.drawEdge(TCanvas,TRect,TdxCellEdgeMode,TdxCellEdgeStyle,TdxCellEdgeStyle,TdxCellSides,Boolean) Method
In This Article
Draws an edge object in a report.
#Declaration
Delphi
procedure drawEdge(Canvas: TCanvas; var R: TRect; EdgeMode: TdxCellEdgeMode; InnerEdge: TdxCellEdgeStyle; OuterEdge: TdxCellEdgeStyle; Sides: TdxCellSides = [csLeft, csBottom]; Soft: Boolean = True); virtual;
#Parameters
Name | Type |
---|---|
Canvas | TCanvas |
R | TRect |
Edge |
Tdx |
Inner |
Tdx |
Outer |
Tdx |
Sides | Tdx |
Soft | Boolean |
#Remarks
This method is designed for drawing an edge object on a report’s surface. Call this method when custom painting a report.
The Canvas parameter determines the drawing surface. Pass the report link’s Renderer.Canvas property to the parameter.
The R parameter specifies the bound rectangle for drawing.
The EdgeMode parameter specifies the manner in which this edge is drawn. Possible values include:
Value | Description |
---|---|
cem |
Edge represents a single line. |
cem3DEffects | Edge has a 3D look. |
cem |
Edge is shadowed. |
The InnerEdge and OuterEdge parameters specify the style of inner and outer edges accordingly. Possible values include:
Value | Description |
---|---|
ces |
No edge. |
ces |
Edge is sunken. |
ces |
Edge is raised. |
The Sides parameter specifies which edges are drawn. Possible values include:
Value | Description |
---|---|
cs |
Left edge is drawn. |
cs |
Top edge is drawn. |
cs |
Right edge is drawn. |
cs |
Bottom edge is drawn. |
See Also