Dela via


InkManager.BoundingRect Property

Definition

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Gets the bounding rectangle of the InkStroke collection that is managed by the InkManager.

public:
 property Rect BoundingRect { Rect get(); };
Rect BoundingRect();
public Rect BoundingRect { get; }
var rect = inkManager.boundingRect;
Public ReadOnly Property BoundingRect As Rect

Property Value

The bounding rectangle of the InkStroke collection.

Implements

Examples

This example shows how to get the BoundingRect for the InkStroke collection of an InkManager object.

var rect = inkManager.boundingRect;

Applies to

See also