Share via


MaxWidth Property

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

Gets the width of the widest character in the current font, in pixels.

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

Syntax

'Declaration
Public ReadOnly Property MaxWidth As Integer
public int MaxWidth { get; }
public:
property int MaxWidth {
    int get ();
}
member MaxWidth : int
function get MaxWidth () : int

Property Value

Type: System. . :: . .Int32
The width of the widest character in the current font, in pixels.

.NET Framework Security

See Also

Reference

Font Class

Microsoft.SPOT Namespace