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