Method SetSelection
SetSelection(SelectionType, Rectangle)
When implemented by a class, sets new selection region with specified selection type.
void SetSelection(SelectionType selectionType, Rectangle selectionRect)
Parameters
selectionTypeSelectionTypeNew selection type.
selectionRectRectangleNew selected rectangle.
SetSelection(SelectionType, Point, Point)
When implemented by a class, sets new selection region with specified selection type.
void SetSelection(SelectionType selectionType, Point selectionStart, Point selectionEnd)
Parameters
selectionTypeSelectionTypeNew selection type.
selectionStartPointLeft-top corner of the selected rectangle.
selectionEndPointRight-bottom corner of the selected rectangle.