←Select platform

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 Leadtools.Windows.D2drendering.D2DPen, _ 
   ByVal startPoint As Point, _ 
   ByVal endPoint As Point _ 
)  
public: 
void DrawLine(  
   Leadtools.Windows.D2drendering.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly