Click or drag to resize
ICanvasTextInlineObjectDrawBounds Property
Gets the bounds of the parts of the text that would get drawn.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
Rect DrawBounds { get; }

Property Value

Type: Rect
Remarks

These bounds are measured the same way as DrawBounds

Win2D doesn't do anything to validate whether this callback is honest about the bounds of what gets drawn. It's up to the app to report the correct bounds here.

See Also