DrawLine Method

Summary
Draws a line between the specified points using the specified D2DPen.
Syntax
C#
VB
C++
public void DrawLine( 
   D2DPen pen, 
   Point startPoint, 
   Point endPoint 
) 
  
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.