Inflates a LeadRectD by the specified amount.
Public Shared Function Inflate( _
ByVal rect As Leadtools.LeadRectD, _
ByVal size As Leadtools.LeadSizeD _
) As Leadtools.LeadRectD
The rectangle object.
The amount to inflate this LeadRectD horizontally and vertically.
The result rectangle.
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.
Medical Web Viewer .NET