LEADTOOLS (Leadtools assembly)

InflateSize Method

Show in webframe







Specifies the amount to expand the rectangle. The LeadSizeD structure's LeadSizeD.Width property specifies the amount to increase the rectangle's Left and Right properties. The LeadSizeD structure's LeadSizeD.Height property specifies the amount to increase the rectangle's Top and Bottom properties.
Expands the rectangle by using the specified size, in all directions.
Syntax
public void InflateSize( 
   LeadSizeD size
)
'Declaration
 
Public Sub InflateSize( _
   ByVal size As LeadSizeD _
) 
'Usage
 
Dim instance As LeadRectD
Dim size As LeadSizeD
 
instance.InflateSize(size)
public void InflateSize( 
   LeadSizeD size
)

            

            
 function Leadtools.LeadRectD.InflateSize( 
   size 
)
public:
void InflateSize( 
   LeadSizeD size
) 

Parameters

size
Specifies the amount to expand the rectangle. The LeadSizeD structure's LeadSizeD.Width property specifies the amount to increase the rectangle's Left and Right properties. The LeadSizeD structure's LeadSizeD.Height property specifies the amount to increase the rectangle's Top and Bottom properties.
Remarks

The Width of the resulting rectangle is increased by twice the LeadSizeD.Width of the specified LeadSizeD structure, because both the left and right sides of the rectangle are inflated. Likewise, the Height of the resulting rectangle is increased by twice the LeadSizeD.Height of the specified LeadSizeD structure.

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.