LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Inflate Method (LeadRectDHelper)






The rectangle object.
The amount to inflate this LeadRectD horizontally and vertically.
Inflates a LeadRectD by the specified amount. .NET support WinRT support
Syntax
public static LeadRectD Inflate( 
   LeadRectD rect,
   LeadSizeD size
)
'Declaration
 
Public Shared Function Inflate( _
   ByVal rect As LeadRectD, _
   ByVal size As LeadSizeD _
) As LeadRectD
'Usage
 
Dim rect As LeadRectD
Dim size As LeadSizeD
Dim value As LeadRectD
 
value = LeadRectDHelper.Inflate(rect, size)
public static LeadRectD Inflate( 
   LeadRectD rect,
   LeadSizeD size
)
 function Leadtools.LeadRectDHelper.Inflate( 
   rect ,
   size 
)
public:
static LeadRectD Inflate( 
   LeadRectD rect,
   LeadSizeD size
) 

Parameters

rect
The rectangle object.
size
The amount to inflate this LeadRectD horizontally and vertically.

Return Value

The result rectangle.
Remarks

This method inflates the rectangle itself, not a copy of it. The inflation along an axis is in two directions (minus direction and plus direction). For example, if a 150 by 150 rectangle is inflated by 50 in the x-axis, the resulting rectangle will be 250 units long (the original 150, the 50 in the minus direction, and the 50 in the plus direction) maintaining the rectangle's geometric center. If either width or height is negative, the rectangle is deflated in the corresponding direction.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LeadRectDHelper Class
LeadRectDHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.