FontSetUnit Method

See Also     Examples     Applies To

Sets the font size unit used in the Drawing text methods.

Syntax

object.FontSetUnit (nUnitMode)

The FontSetUnit syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nUnitMode Required. 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.
4 (UnitInch), Each unit is 1 inch.
5 (UnitDocument), Each unit is 1/300 inch.
6 (UnitMilimeter), Each unit is 1 milimeter.

Category

Font functions





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.