ComputeExtent Method (String, 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 and height 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 _
)
public void ComputeExtent(
    string text,
    out int width,
    out int height
)
public:
void ComputeExtent(
    String^ text, 
    [OutAttribute] int% width, 
    [OutAttribute] int% height
)
member ComputeExtent : 
        text:string * 
        width:int byref * 
        height:int byref -> unit 
public function ComputeExtent(
    text : String, 
    width : int, 
    height : int
)

Parameters

.NET Framework Security

See Also

Reference

Font Class

ComputeExtent Overload

Microsoft.SPOT Namespace