Table of Contents

Method SetSelection

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

SetSelection(SelectionType, Rectangle)

Sets new selection region with specified selection type.

public virtual void SetSelection(SelectionType selectionType, Rectangle selectionRect)

Parameters

selectionType SelectionType

New selection type.

selectionRect Rectangle

New 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 SelectionType

New selection type.

selectionStart Point

Left-top corner of the selected rectangle.

selectionEnd Point

Right-bottom corner of the selected rectangle.