ComputeExtent Method (String, Int32, Int32, Int32)

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

Computes the width, height, and kerning of a specified line of text.

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

Syntax

'Declaration
Public Sub ComputeExtent ( _
    text As String, _
    <OutAttribute> ByRef width As Integer, _
    <OutAttribute> ByRef height As Integer, _
    kerning As Integer _
)
public void ComputeExtent(
    string text,
    out int width,
    out int height,
    int kerning
)
public:
void ComputeExtent(
    String^ text, 
    [OutAttribute] int% width, 
    [OutAttribute] int% height, 
    int kerning
)
member ComputeExtent : 
        text:string * 
        width:int byref * 
        height:int byref * 
        kerning:int -> unit 
public function ComputeExtent(
    text : String, 
    width : int, 
    height : int, 
    kerning : int
)

Parameters

.NET Framework Security

See Also

Reference

Font Class

ComputeExtent Overload

Microsoft.SPOT Namespace