Accusoft.PrintPro8.Net
Line(PointF,PointF,Boolean,Boolean) Method




A System.Drawing.PointF which represents the coordinate of the starting point for the line or rectangle.
A System.Drawing.PointF which represents the coordinate of the end point for the line or rectangle being drawn.
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 black line or rectangle on a printer.
Syntax
'Declaration
 
Public Overloads Sub Line( _
   ByVal startPoint As PointF, _
   ByVal endPoint As PointF, _
   ByVal box As Boolean, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As PointF
Dim endPoint As PointF
Dim box As Boolean
Dim fill As Boolean
 
instance.Line(startPoint, endPoint, box, fill)
public void Line( 
   PointF startPoint,
   PointF endPoint,
   bool box,
   bool fill
)
public: void Line( 
   PointF startPoint,
   PointF endPoint,
   bool box,
   bool fill
) 
public:
void Line( 
   PointF startPoint,
   PointF endPoint,
   bool box,
   bool fill
) 

Parameters

startPoint
A System.Drawing.PointF which represents the coordinate of the starting point for the line or rectangle.
endPoint
A System.Drawing.PointF which represents the coordinate of the end point for the line or rectangle being drawn.
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