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