CharWidth Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the width of the specified character, in pixels.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)

Syntax

'Declaration
Public Function CharWidth ( _
    c As Char _
) As Integer
public int CharWidth(
    char c
)
public:
int CharWidth(
    wchar_t c
)
member CharWidth : 
        c:char -> int 
public function CharWidth(
    c : char
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The width of the specified character, in pixels.

.NET Framework Security

See Also

Reference

Font Class

Microsoft.SPOT Namespace