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

Creates the BoundedText object at the specified location with the specified Font and SolidBrush 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
)

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 of the Rectangle, wherein the text will be drawn.
height

Type: System.Single

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

See Also

Reference