ReportPrintLine(Double, Double, Double, Double, Brush, Boolean, Brush) Method

Add a line or box graphic to the page

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public void PrintLine(
	double x1,
	double y1,
	double x2,
	double y2,
	Brush lineColor = null,
	bool box = false,
	Brush fillColor = null
)

Parameters

x1  Double
left starting position in characters
y1  Double
top starting position in characters
x2  Double
right ending position in characters
y2  Double
bottom ending position in characters
lineColor  Brush  (Optional)
Color of lines
box  Boolean  (Optional)
if true, draws a rectangle
fillColor  Brush  (Optional)
fill color of rectangle

See Also