Skip to main content

TBasedxReportLink.drawEdge(TCanvas,TRect,TdxCellEdgeMode,TdxCellEdgeStyle,TdxCellEdgeStyle,TdxCellSides,Boolean) Method

Draws an edge object in a report.

Declaration

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
EdgeMode TdxCellEdgeMode
InnerEdge TdxCellEdgeStyle
OuterEdge TdxCellEdgeStyle
Sides TdxCellSides
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
cemSingle Edge represents a single line.
cem3DEffects Edge has a 3D look.
cemShadow Edge is shadowed.

The InnerEdge and OuterEdge parameters specify the style of inner and outer edges accordingly. Possible values include:

Value Description
cesNone No edge.
cesSunken Edge is sunken.
cesRaised Edge is raised.

The Sides parameter specifies which edges are drawn. Possible values include:

Value Description
csLeft Left edge is drawn.
csTop Top edge is drawn.
csRight Right edge is drawn.
csBottom Bottom edge is drawn.
See Also