LEADTOOLS (Leadtools assembly)

Inflate Method (LeadRectD)

Show in webframe







Specifies the amount to increase the rectangle's Left and Right properties.
Specifies the amount to increase the rectangle's Top and Bottom properties.
Expands the rectangle by using the specified width and height, in all directions.
Syntax
public void Inflate( 
   double width,
   double height
)
'Declaration
 
Public Sub Inflate( _
   ByVal width As Double, _
   ByVal height As Double _
) 
'Usage
 
Dim instance As LeadRectD
Dim width As Double
Dim height As Double
 
instance.Inflate(width, height)
public void Inflate( 
   double width,
   double height
)

            

            
 function Leadtools.LeadRectD.Inflate( 
   width ,
   height 
)
public:
void Inflate( 
   double width,
   double height
) 

Parameters

width
Specifies the amount to increase the rectangle's Left and Right properties.
height
Specifies the amount to increase the rectangle's Top and Bottom properties.
Remarks

The Width of the resulting rectangle is increased by twice the width value, because both the left and right sides of the rectangle are inflated. Likewise, the Height of the resulting rectangle is increased by twice the height value.

You cannot change the values of the Empty rectangle.

Requirements

Target Platforms

See Also

Reference

LeadRectD Structure
LeadRectD Members

 

 


Products | Support | Contact Us | Copyright Notices

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