DrawLine Method

Summary
Draws a line between the specified points using the specified D2DPen.
Syntax
C#
C++
public void DrawLine( 
   D2DPen pen, 
   Point startPoint, 
   Point endPoint 
) 
vb[VB Syntax] 
  
Public Sub DrawLine( _ 
   ByVal _pen_ As D2DPen, _ 
   ByVal _startPoint_ As Point, _ 
   ByVal _endPoint_ As Point _ 
) 
public: 
void DrawLine(  
   D2DPen^ pen, 
   Point startPoint, 
   Point endPoint 
)  

Parameters

pen
D2DPen that determines the Pen brush, thickness, and style.

startPoint
The start point of the line.

endPoint
The end point of the line.

Remarks

This method draws a line between the specified points using the specified Pen style.

Requirements

Target Platforms

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.