LayersPanelSel Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:17

Description

Returns index of the selected item in the Layers palette.

Syntax

dim idx as Short = Designer.LayersPanelSel()

designer

Page designer, defined by Dim designer = TryCast(idesigner, IPageDesigner) or by Protected Designer As IPageDesigner (in page.vb)

Example

Public Function Ena_CanLayerRecover() As Boolean

  If Page Is Nothing Then Return False

    Return Page.CanLayerRecover(Designer.LayersPanelSel())

End Function

See also

LayersPanelUpdate Method