Accusoft.PrintPro8.Net
Line(Point,Point,Color,Boolean,Boolean) Method




The coordinate of the starting point for the line or rectangle.
The coordinate of the end point for the line or rectangle being drawn.
The color used to draw the line or box
A boolean value that if True, causes a box to be drawn using the coordinates to specify opposite corners of the box.
A boolean value that if True and the box option is used, specifies that the box is filled with the same color used to draw the box. You cannot use fill without box. If box is used without fill, the box is filled with the current FillColor and FillStyle.
Draws a line or rectangle on a printer
Syntax
'Declaration
 
Public Overloads Sub Line( _
   ByVal startPoint As Point, _
   ByVal endPoint As Point, _
   ByVal color As Color, _
   ByVal box As Boolean, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As Point
Dim endPoint As Point
Dim color As Color
Dim box As Boolean
Dim fill As Boolean
 
instance.Line(startPoint, endPoint, color, box, fill)
public void Line( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool box,
   bool fill
)
public: void Line( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool box,
   bool fill
) 
public:
void Line( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool box,
   bool fill
) 

Parameters

startPoint
The coordinate of the starting point for the line or rectangle.
endPoint
The coordinate of the end point for the line or rectangle being drawn.
color
The color used to draw the line or box
box
A boolean value that if True, causes a box to be drawn using the coordinates to specify opposite corners of the box.
fill
A boolean value that if True and the box option is used, specifies that the box is filled with the same color used to draw the box. You cannot use fill without box. If box is used without fill, the box is filled with the current FillColor and FillStyle.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback