Converts a position from TWIPS in the current GefScreen to pixels. | |
Syntax: | object.TwipsToPixelsPos X, Y |
Parameters: |
X As
long* -
Y As
long* -
|
Description: | Converts a position from TWIPS in the current
GefScreen to pixels. Examples Sub OnMouseUp(x As Long, y As Long, flags As Long) Dim x2 As Long Dim y2 As Long x2 = x y2 = y CimGetScreen.TwipsToPixelsPos x2, y2 MsgBox x & "," & y & " ==> " &
x2 & "," & y2 End Sub |
See Also: | PixelsToTwipsPos , PixelsToTwipsSize , TwipsToPixelsSize |