Inesoft PrintCE SDK .NET
PrintCE::DrawRect Method

Draws a rectangle

C# Syntax: object.DrawRect(double x1, double y1, double x2, double y2);
VB Syntax: object.DrawRect(ByVal x1 As Double, ByVal y1 As Double, ByVal x2 As Double, ByVal y2 As Double)

Parameters

(x1, y1) è (x2, y2)

set coordinates of the upper left and lower right angles of the rectangle

color

is the rectangle's colour

Review

Coordinates are returned in the current measurement units (please refer to MeasureUnit property)

Filling colour is determined by FillColor property
Edging colour is determined by LineColor property
Edging width is determined by LineWidth property



© 2009 Inesoft. All rights reserved.