Method SetSelection
SetSelection(SelectionType, Rectangle)
Sets new selection region with specified selection type.
public virtual void SetSelection(SelectionType selectionType, Rectangle selectionRect)
Parameters
selectionTypeSelectionTypeNew selection type.
selectionRectRectangleNew selected rectangle.
SetSelection(SelectionType, Point, Point)
Sets new selection region with specified selection type.
public virtual 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.