Share via


TextRun.GetSize Method

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

public void GetSize (
         ref intwidth,
         ref intheight
)

Parameters

  • width
    [OutAttribute] The width of the display area for the text.
  • height
    [OutAttribute] The height of the display area for the text.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

TextRun Class
TextRun Members
Microsoft.SPOT.Presentation.Controls Namespace