InkStrokeContainer.DeleteSelected InkStrokeContainer.DeleteSelected InkStrokeContainer.DeleteSelected InkStrokeContainer.DeleteSelected InkStrokeContainer.DeleteSelected Method

Definition

Deletes the selected InkStroke objects from the InkStroke collection managed by the InkStrokeContainer.

public : Rect DeleteSelected()
Rect DeleteSelected() const;
public Rect DeleteSelected()
Public Function DeleteSelected() As Rect
var rect = inkStrokeContainer.deleteSelected();

Returns

The bounding rectangle of the selected ink strokes, or the invalidated rectangle (0, 0, 0, 0) if no strokes were removed (no selected strokes).

Remarks

This method does not cause the StrokesErased event to fire.

See also