MindFusion.Mapping Programmer's Guide

LayerPresenter.DrawString Method

See Also
 






Draws a string with the specified attributes.

Namespace: MindFusion.Mapping.Wpf
Assembly: MindFusion.Mapping.Wpf

 Syntax

C#  Copy Code

public void DrawString (
    string s,
    Point point,
    Rect bounds,
    string fontName,
    double fontSize
)

Visual Basic  Copy Code

Public Sub DrawString( _
    s As String, _
    point As Point, _
    bounds As Rect, _
    fontName As String, _
    fontSize As Double _
)

 Parameters

s

The string that should be drawn.

point

A Point specifying the string location.

bounds

A Rect specifying the string bounding box.

fontName

The name of the font used to render the string.

fontSize

The size of the font used to render the string.

 See Also