Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

InflateRects Method








The rectangle to modify
Specifies the amount to expand the rectangle. The LeadSizeD structure's Width property specifies the amount to increase the rectangle's Left and Right properties. The LeadSizeD structure's Height property specifies the amount to increase the rectangle's Top and Bottom properties.
Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.
Syntax
public static LeadRectD InflateRects( 
   LeadRectD rect,
   LeadSizeD size
)
'Declaration
 
Public Shared Function InflateRects( _
   ByVal rect As LeadRectD, _
   ByVal size As LeadSizeD _
) As LeadRectD
'Usage
 
Dim rect As LeadRectD
Dim size As LeadSizeD
Dim value As LeadRectD
 
value = LeadRectD.InflateRects(rect, size)
public static LeadRectD InflateRects( 
   LeadRectD rect,
   LeadSizeD size
)
LeadRectD LeadRectDInflate(LeadRectD rect, LeadSizeD size)
public static LeadRectD inflateRects(LeadRectD rect, LeadSizeD size)
 function Leadtools.LeadRectD.InflateRects( 
   rect ,
   size 
)
public:
static LeadRectD InflateRects( 
   LeadRectD rect,
   LeadSizeD size
) 

Parameters

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

Return Value

The resulting rectangle.
Remarks

The Width of the resulting rectangle is increased by twice the 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 Height of the specified LeadSizeD structure.

Requirements

Target Platforms

See Also

Reference

LeadRectD Structure
LeadRectD Members

Error processing SSI file