Share via


GetSize Method

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

Retrieves the dimensions (height and width) of the display area for the text in the current text run.

Namespace:  Microsoft.SPOT.Presentation.Controls
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TextRun Class

Microsoft.SPOT.Presentation.Controls Namespace