BoundedText Constructor (String, Font, Brush, Single, Single, Single, Single, TextAlignment)

Creates the BoundedText object with the specified settings.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public BoundedText(
	string text,
	Font font,
	Brush brush,
	float x,
	float y,
	float width,
	float height,
	TextAlignment alignment
)

Parameters

text

Type: System.String

A string to draw.
font

Type: Aurigma.GraphicsMill.AdvancedDrawing.Font

Defines the font characteristics of the text.
brush

Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush

SolidBrush determines the color of the drawn text.
x

Type: System.Single

The x-coordinate of the Rectangle, wherein the text will be drawn.
y

Type: System.Single

The y-coordinate of the Rectangle, wherein the text will be drawn.
width

Type: System.Single

The width-coordinate of the Rectangle, wherein the text will be drawn.
height

Type: System.Single

The height-coordinate of the Rectangle, wherein the text will be drawn.
alignment

Type: Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment

Specifies alignment of the text.

See Also

Reference