DrawGeometry Method

Summary
Draws the outline of the specified geometry using the specified D2DPen.
Syntax
C#
C++/CLI
public void DrawGeometry( 
   D2DPen pen, 
   Geometry geometry 
) 
public: 
void DrawGeometry(  
   D2DPen^ pen, 
   Geometry^ geometry 
)  

Parameters

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

geometry
The System.Windows.Media.Geometry to draw. Both geometry.Bounds.Width and geometry.Bounds.Height must be greater than or equal to 1.0 to avoid an ArgumentOutOfRangeException when drawing custom annotations.

Remarks

This method draws the outline of the specified geometry using the specified Pen style.

Requirements

Target Platforms

Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.