DXFReaderNETControlCurrentWCSpoint Property
|
Gets the current cursor position in World Coordinate System (WCS) coordinates.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic Vector2 CurrentWCSpoint { get; }Public ReadOnly Property CurrentWCSpoint As Vector2
Get
public:
property Vector2 CurrentWCSpoint {
Vector2 get ();
}member CurrentWCSpoint : Vector2 with get
PROPERTY CurrentWCSpoint AS Vector2 GET
Property Value
Type:
Vector2
A
Vector2 representing the cursor position in drawing units.
Remarks
This property reflects the real-time position of the mouse cursor translated from screen
coordinates to world coordinates. It's useful for:
- Displaying coordinate feedback to users
- Implementing custom drawing tools that track cursor position
- Calculating distances or snap points relative to cursor location
The value is updated continuously as the mouse moves over the control and accounts for
current zoom level, pan offset, and any coordinate transformations.
See also:
CoordsToWorld(Int32, Int32) for manual coordinate conversion.
See Also