FontGetUnit Method

See Also     Examples     Applies To

Returns the font size unit used in the Drawing text functions.

Syntax

object.FontGetUnit ()

The FontGetUnit syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Long UnitMode constant.
Can be:
0 (UnitWorld), Do not use.
1 (UnitDisplay), Do not use.
2 (UnitPixel), Each unit is one device pixel.
3 (UnitPoint), Each unit is a printer's point, or 1/72 inch. (Used by default)
4 (UnitInch), Each unit is 1 inch.
5 (UnitDocument), Each unit is 1/300 inch.
6 (Unitmillimeter), Each unit is 1 millimeter.

Category

Font Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.