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

Creates the BoundedText object at the specified location with the specified alignement.

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

Syntax

C#
public BoundedText(
	string text,
	Font font,
	Brush brush,
	RectangleF rectangle,
	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.
rectangle

Type: System.Drawing.RectangleF

Specifies Rectangle, wherein the text will be drawn.
alignment

Type: Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment

Specifies alignment of the text.

See Also

Reference