'Declaration
Public Function GetAlignRectangle( _ ByVal width As Double, _ ByVal height As Double, _ ByVal alignment As RectAlignment _ ) As Rectangle
'Usage
Dim instance As Rectangle Dim width As Double Dim height As Double Dim alignment As RectAlignment Dim value As Rectangle value = instance.GetAlignRectangle(width, height, alignment)
Parameters
- width
- The width of new aligned rectangle.
- height
- The height of new aligned rectangle.
- alignment
- How the new rectangle is aligned.
Return Value
The new aligned rectangle.