LongToSingle

Top  Previous  Next

 

LongToSingle (Method)

 

Changes the window coordinates (integer) into the drawing coordinates (single) respectively

 

Syntax:

Function LongToSingle(xL As Integer, yL As Integer, xS As Single, yS As Single) As Boolean

 

The LongToSingle method syntax consists of the following:

Parameter

Data Type

Description

xL

Integer

Is the x window coordinate

yL

Integer

Is the y window coordinate

xS

Single

Is the x drawing coordinate

yS

Single

Is the y drawing coordinate

 

Return value:

Boolean - True on success, false on error.

 

Example