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 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.