SelectArea Method

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

Description

Allows to draw a marquee and then calls the script, specified in AddressOf.

Syntax

Designer.SelectArea(New SelectAreaProc(AddressOf name))

designer

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

name

name of the script to call when you release the mouse button.

Example

 <ShellCommand(CanExecute:="Ena_IsWindowActive")> _

Public Sub AddFrame()

  If CanModifyLayer() Then Designer.SelectArea(New SelectAreaProc(AddressOf AddFrame))

End Sub

See also

SelectPath Method

SelectPoint Method