Share via


DrawText Method (String, Font, Color, Int32, Int32)

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

Draws specified text on the drawing surface, beginning at a specified location (position).

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

Syntax

'Declaration
Public Sub DrawText ( _
    text As String, _
    font As Font, _
    color As Color, _
    x As Integer, _
    y As Integer _
)
public void DrawText(
    string text,
    Font font,
    Color color,
    int x,
    int y
)
public:
void DrawText(
    String^ text, 
    Font^ font, 
    Color color, 
    int x, 
    int y
)
member DrawText : 
        text:string * 
        font:Font * 
        color:Color * 
        x:int * 
        y:int -> unit 
public function DrawText(
    text : String, 
    font : Font, 
    color : Color, 
    x : int, 
    y : int
)

Parameters

  • x
    Type: System. . :: . .Int32
    The horizontal coordinate at which the drawing of the specified text is to begin.
  • y
    Type: System. . :: . .Int32
    The vertical coordinate at which the drawing of the specified text is to begin.

.NET Framework Security

See Also

Reference

DrawingContext Class

DrawText Overload

Microsoft.SPOT.Presentation.Media Namespace