Text.MeasureOverride Method
Measures the text layout area for the current Text object.
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
protected override void MeasureOverride (
intavailableWidth,
intavailableHeight,
ref intdesiredWidth,
ref intdesiredHeight
)
Parameters
- availableWidth
The maximum available width of the rectangular text layout area. - availableHeight
The maximum available height of the rectangular text layout area. - desiredWidth
[OutAttribute] The optimum width of the text layout area. - desiredHeight
[OutAttribute] The optimum height of the text layout area.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Text Class
Text Members
Microsoft.SPOT.Presentation.Controls Namespace