Table of Contents

Method AddToSelection

Namespace
VectorDraw.Professional.vdPrimaries
Assembly
VectorDraw.Professional.dll

AddToSelection(vdSelection, bool, AddItemCheck)

Called when this object is going to be added to a selection and before any other event

public virtual bool AddToSelection(vdSelection set, bool checkExisting, vdSelection.AddItemCheck checking)

Parameters

set vdSelection

The selection where the object is going to be added

checkExisting bool

If this value is true checks the collection

if the object is already in the collection and if so returns true.

checking vdSelection.AddItemCheck

Enumerator for checking options while adding this item to the collection.

Returns

bool

True in order this object to be added to selection and proccess with other events. False not to be added.

By default returns true