Text Constructor (Font, String)
[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 Text class and sets its content and font.
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
font As Font, _
content As String _
)
public Text(
Font font,
string content
)
public:
Text(
Font^ font,
String^ content
)
new :
font:Font *
content:string -> Text
public function Text(
font : Font,
content : String
)
Parameters
- font
Type: Microsoft.SPOT. . :: . .Font
Specifies the font to use when displaying the text.
- content
Type: System. . :: . .String
Holds the text string to display.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.