Win32Prn() > Clipper DOS compatibility xHarbour Developers Network  

oWin32Prn:inch_To_PosX()

Calculates a horizontal X position from inches.

Syntax

:inch_To_PosX( <nInches> ) --> nPosX

Arguments

<nInch>
This is a numeric value indicating inches.

Description

The method calculates a horizontal X position in pixels from inches 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