←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(  
   Leadtools.Windows.D2drendering.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.D2DRendering Assembly
Click or drag to resize