Win32Prn() > Clipper DOS compatibility xHarbour Developers Network  

oWin32Prn:mm_To_PosX()

Calculates a horizontal X position from millimeters.

Syntax

:mm_To_PosX( <nMilliMeters> ) --> nPosX

Arguments

<nMilliMeters>
This is a numeric value indicating millimeters.

Description

The method calculates a horizontal X position in pixels from millimeters and returns the result as a numeric value. This is required when the print position must be changed with method :setPos(), which accepts only pixel coordinates.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe