SingleToLong

Top  Previous  Next

 

SingleToLong (Method)

 

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

 

Syntax:

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

 

The SingleToLong method syntax consists of the following:

Parameter

Data Type

Description

xS

Single

Is the drawing coordinate x

yS

Single

Is the drawing coordinate y

xL

Integer

Is the window coordinate x

yL

Integer

Is the window coordinate y

 

Return value:

Boolean - True on success, false on error.

 

Example