DrawLine Method

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

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