Skip to main content

TextRun Class

Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI

No description available.

public class TextRun

Constructors

TextRun(string text, System.Drawing.Font font, Color foreColor)

public TextRun(string text, System.Drawing.Font font, Color foreColor)

No description available.

ParameterTypeDescription
textstring
fontSystem.Drawing.Font
foreColorColor

Properties

EndOfLine

public static TextRun EndOfLine { get; }

No description available.

Methods

GetSize(out int width, out int height)

public void GetSize(out int width, out int height)

No description available.

ParameterTypeDescription
widthout int
heightout int

Fields

Text

public readonly string Text

No description available.

Font

public readonly System.Drawing.Font Font

No description available.

ForeColor

public readonly Color ForeColor

No description available.

_width

protected int _width

No description available.

_height

protected int _height

No description available.