SelectPath Method

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

Description

Allows to click to define the next path poing 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

Public Sub AddClosedPath()

   Fred.SelPolygon()

   Designer.SelectPath(New SelectPathProc(AddressOf OnClosedPath), False)

End Sub

Public Sub AddOpenPath()

   Fred.SelPolygon()

   Designer.SelectPath(New SelectPathProc(AddressOf OnClosedPath), True)

End Sub

See also

SelectArea Method

SelectPoint Method