C++
int acedGetWinNum( int ptx, int pty );
File
core_rxmfcapi.h
Description
Provide coordinates in AutoCAD drawing window (in client coordinates) and this function will return the viewport number the coordinates correspond to.
This function usually is used with acedCoordFromWorldToPixel() or acedCoordFromPixelToWorld().
Returns the viewport number based on Windows client coordinates.
Parameters
Parameters | Description |
---|---|
ptx | X coordinate Windows client coordinates |
pty | Y coordinate Windows client coordinates |