←Select platform

DrawRectangle 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 Leadtools.Windows.D2drendering.D2DPen, _ 
   ByVal rect As Rect _ 
)  
public: 
void DrawRectangle(  
   Leadtools.Windows.D2drendering.D2DPen^ pen, 
   Rect rect 
)  

Parameters

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

rect
The dimensions of the rectangle to draw.

Remarks

This method draws the outline of a rectangle 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