Version 24.2 (latest)

CalculateAbsolutePoint Method

Calculates the absolute point (in XamDiagram.WorldRect coordinates) from a relative point.
Syntax
protected internal Point CalculateAbsolutePoint( 
   Point relativePoint
)

Parameters

relativePoint
A point with coordinates from (0, 0) to (1, 1).
Remarks
For a node with Bounds rectangle (X:20, Y:300, W:200, H:100), when called with the Point (0.25, 0.4), this method will return the Point (70, 340). 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