Text.GetBlackBox Method

Returns the black box for the text.

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

Syntax

C#
public RectangleF GetBlackBox(
	FontRegistry fontRegistry,
	float dpiX,
	float dpiY
)

Parameters

fontRegistry

Type: Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry

The FontRegistry to get the black box of this text.
dpiX

Type: System.Single

The horizontal resolution of the Text in DPI.
dpiY

Type: System.Single

The vertical resolution of the Text in DPI.

Return Value

The rectangle that describes the text black box.

See Also

Reference