If multiple layer selection is enabled then it counts any layer that has Selected set to true. Otherwise it just checks whether LayersCurrent is not -1.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int LayersSelCount(
	bool countBackgroundLayer
)
Public Function LayersSelCount ( _
	countBackgroundLayer As Boolean _
) As Integer
public:
int LayersSelCount(
	bool countBackgroundLayer
)

Parameters

countBackgroundLayer
Boolean
If countBackgroundLayer is false, then the background layer (layer 0) is not included in the count.

Return Value

Return number of layers that are selected.

See Also