Inesoft PrintCE SDK .NET
PrintCE::DrawSolidRect Method

Draws a rectangle filled with the selected colour

C# Syntax: object.DrawSolidRect(double x1, double y1, double x2, double y2, Color color)
VB Syntax: object.DrawSolidRect(ByVal x1 As Double, ByVal y1 As Double, ByVal x2 As Double, ByVal y2 As Double, ByVal color As Color)

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)



© 2009 Inesoft. All rights reserved.