TextRun Constructor

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

Initializes a new instance of the TextRun class (a text run).

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

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    font As Font, _
    foreColor As Color _
)
public TextRun(
    string text,
    Font font,
    Color foreColor
)
public:
TextRun(
    String^ text, 
    Font^ font, 
    Color foreColor
)
new : 
        text:string * 
        font:Font * 
        foreColor:Color -> TextRun
public function TextRun(
    text : String, 
    font : Font, 
    foreColor : Color
)

Parameters

.NET Framework Security

See Also

Reference

TextRun Class

Microsoft.SPOT.Presentation.Controls Namespace