Version

CharacterWidth256thsToPixels Method

Converts units of 1/256s of the average character width to pixels.
Syntax
'Declaration
 
Public Function CharacterWidth256thsToPixels( _
   ByVal characterWidth256ths As Double _
) As Double
public double CharacterWidth256thsToPixels( 
   double characterWidth256ths
)

Parameters

characterWidth256ths
The number of units of 1/256s of the average character width.

Return Value

The number of pixels equivalent to the characterWidth256ths value.
Remarks

The units of 1/256s of the average character width are based on the font height of the normal style.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also