Version

CalculateAbsolutePointInBounds Method

Transforms a point from relative coordinates to absolute coordinates within the node's bounds.
Syntax
'Declaration
 
Protected Friend Function CalculateAbsolutePointInBounds( _
   ByVal relativePoint As Point _
) As Point
protected internal Point CalculateAbsolutePointInBounds( 
   Point relativePoint
)

Parameters

relativePoint
A point with coordinates from (0, 0) to (1, 1).

Return Value

The absolute point within the node's bounds.
Remarks
For a node with Bounds rectangle with a size of (200, 100), when called with the Point (0.25, 0.4), this method will return the Point (50, 40).
This method also takes into account the StrokeThickness of the node.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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