Version

CharacterWidth256thsToPixels Method

Converts units of 1/256s of the average character width to pixels.
Syntax
'Declaration
 
Public Function CharacterWidth256thsToPixels( _
   ByVal characterWidth256ths As System.Double _
) As System.Double
public System.double CharacterWidth256thsToPixels( 
   System.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 8.1, 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

View on GitHub