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
- selectionTypeSelectionType
- New selection type. 
- selectionRectRectangle
- New 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
- selectionTypeSelectionType
- New selection type. 
- selectionStartPoint
- Left-top corner of the selected rectangle. 
- selectionEndPoint
- Right-bottom corner of the selected rectangle.