Transforms points from the client coordinate space to the document coordinate space.
SyntaxVB6
Copy Code
|
|---|
Public Sub ClientPtToDocPt( _ |
C++
Copy Code
|
|---|
public: |
RemarksGets 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.
See Also