Version

ResolvePixelBounds(RectangleF,RectangleF) Method

Returns a rectangle expressed as a percentage of another rectangle.
Syntax
'Declaration
 
Public Overloads Shared Function ResolvePixelBounds( _
   ByVal sourceBounds As RectangleF, _
   ByVal percentBounds As RectangleF _
) As RectangleF
public static RectangleF ResolvePixelBounds( 
   RectangleF sourceBounds,
   RectangleF percentBounds
)

Parameters

sourceBounds
The source rectangle.
percentBounds
The percent values to take from the source for generating the return value.

Return Value

A rectangle with size and location taken from percentBounds and sourceBounds.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also