Leadtools Namespace > LeadRectD Structure : InflateRect Method |
'Declaration Public Shared Function InflateRect( _ ByVal rect As LeadRectD, _ ByVal width As Double, _ ByVal height As Double _ ) As LeadRectD
'Usage Dim rect As LeadRectD Dim width As Double Dim height As Double Dim value As LeadRectD value = LeadRectD.InflateRect(rect, width, height)
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.