![]() |
![]() |
Window.ScreenToDocument
Sub ScreenToDocument(XScreen As Long, YScreen As Long, XDoc As Double, YDoc As Double)
Member of Window
The ScreenToDocument property converts screen coordinates to document coordinates
The following code example converts the screen coordinates to document coordinates:
Sub Test() Dim x As Double Dim y As Double ActiveWindow.ScreenToDocument 515, 404, x, y MsgBox "The screen coordinates (515,404) converted to document " & _ "coordinates is (" & x & "," & y & ")." End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.