Gets the diagram coordinates of a screen point.
VB6 Copy Code |
---|
Public Sub ScreenPtToDocPt( _ |
C++ Copy Code |
---|
public: |
Gets the document coordinates of the point (x, y). The mapping between the screen and document (logical) coordinates depends on the location of FlowChartX, its current scroll position and zoom factor. You can use this method together with ObjectFromPoint to find out which item lies under the mouse cursor, when you have the mouse position expressed in screen coordinates.
FlowChartX Programmer's Guide | © 2023 MindFusion |