Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.
Public Shared Function InflateRects( _
ByVal rect As LeadRectD, _
ByVal size As LeadSizeD _
) As LeadRectD
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.
The resulting rectangle.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document