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