Click or drag to resize
CanvasTextLayoutRegionLayoutBounds Field
A rectangle describing the bounds of a piece of text.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Rect LayoutBounds

Field Value

Type: Rect
Remarks

The bounds are relative to the text's layout box. These bounds are in DIPs, and do not take into account any transforms that might be applied while rendering the text.

These bounds do not include any trailing whitespace. To obtain bounds which include the text layout's trailing whitespace, use LayoutBoundsIncludingTrailingWhitespace.

See Also