←Select platform

DrawGeometry Method

Summary

Draws the outline of the specified geometry using the specified D2DPen.

Syntax

C#
VB
C++
public void DrawGeometry( 
   D2DPen pen, 
   Geometry geometry 
) 
  
Public Sub DrawGeometry( _ 
   ByVal pen As Leadtools.Windows.D2drendering.D2DPen, _ 
   ByVal geometry As Geometry _ 
)  
public: 
void DrawGeometry(  
   Leadtools.Windows.D2drendering.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly