Win32Prn() > Font settings xHarbour Developers Network  

oWin32Prn:charWidth

Numeric width of characters for the current font.

Info

Data type:NDefault:0

Description

The instance variable :charWidth contains the numeric width in pixels for a character of the current font. By default, method :create() selects "Courier New" as current font.

The current font can be changed with method :setFont() after :create() is called.

Note:  the character width is an average width when a proportional font is selected.


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