Table of Contents

Method SetSelection

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

SetSelection(SelectionType, Rectangle)

When implemented by a class, sets new selection region with specified selection type.

void SetSelection(SelectionType selectionType, Rectangle selectionRect)

Parameters

selectionType SelectionType

New selection type.

selectionRect Rectangle

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

selectionType SelectionType

New selection type.

selectionStart Point

Left-top corner of the selected rectangle.

selectionEnd Point

Right-bottom corner of the selected rectangle.