Win32Prn() > Clipper DOS compatibility xHarbour Developers Network  

oWin32Prn:inch_To_PosY()

Calculates a vertical Y position from inches.

Syntax

:inch_To_PosY( <nInches> ) --> nPosY

Arguments

<nInch>
This is a numeric value indicating inches.

Description

The method calculates a vertical Y 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