Method SetSelection
SetSelection(SelectionType, Rectangle)
Sets new selection region with specified selection type.
public virtual void SetSelection(SelectionType selectionType, Rectangle selectionRect)
Parameters
selectionType
SelectionTypeNew selection type.
selectionRect
RectangleNew 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
selectionType
SelectionTypeNew selection type.
selectionStart
PointLeft-top corner of the selected rectangle.
selectionEnd
PointRight-bottom corner of the selected rectangle.