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
selectionType
SelectionTypeNew selection type.
selectionRect
RectangleNew 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
selectionType
SelectionTypeNew selection type.
selectionStart
PointLeft-top corner of the selected rectangle.
selectionEnd
PointRight-bottom corner of the selected rectangle.