←Select platform

DrawRectangle(D2DPen,Rect) Method

Summary

Draws the outline of a rectangle that has the specified dimensions and D2DPen.

Syntax
C#
VB
C++
public void DrawRectangle( 
   D2DPen pen, 
   Rect rect 
) 
Public Sub DrawRectangle( 
   ByVal pen As D2DPen, 
   ByVal rect As Rect 
) 
public:  
   void DrawRectangle( 
      D2DPen^ pen, 
      Rect^ rect 
   ) 

Parameters

pen

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

rect

The dimensions of the rectangle to draw.

Remarks

DrawRectangle(D2DPen,Rect) draws the outline of a rectangle using the specified pen style.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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