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
- c
Type: System. . :: . .Char
The character whose width you want to find.
Return Value
Type: System. . :: . .Int32
The width of the specified character, in pixels.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.