Click or drag to resize
CanvasTextLayoutRequestedSize Property
Specifies the requested size.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
public Size RequestedSize { get; set; }

Property Value

Type: Size

This option is for controlling word wrapping and alignment. This option, by itself, doesn't perform any kind of clipping behavior- to ensure text is clipped to this rectangle, use Clip.

If word wrapping is enabled, text is wrapped according to these dimensions. The actual LayoutBounds or DrawBounds may be larger than the RequestedSize.

See Also