This documentation is for the old version. Go to the latest Graphics Mill docs

TextVObject Constructor (String, String, Single, RectangleF)

Creates and initializes a new text v-object using the specified settings.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Sub New ( _
	text As String, _
	fontName As String, _
	fontSize As Single, _
	bounds As RectangleF _
)
C#
public TextVObject(
	string text,
	string fontName,
	float fontSize,
	RectangleF bounds
)

Parameters

text

Type: System.String

A text string to display.
fontName

Type: System.String

A font to render the text string.
fontSize

Type: System.Single

A size of the font.
bounds

Type: System.Drawing.RectangleF

A size of the text area.

See Also

Reference