COM API

Subscribe method

Example | Applies To

When you use plug-in technology, use Subscribe to tell INVOICES which events you want to subscribe to (use). Your plug-in is called every time the EventName event is fired, i.e. on Application level. The callback function is given in HandlerFunction.

Return Type

Long

Syntax

object.Subscribe(HandlerObject As Object, EventName As String, HandlerFunction As String)

 

Part

Description

object

An expression evaluating to an object of type Application, InterpretApp, ManagerApp, OptimizerApp, ScanApp, TransferApp, VerifyApp.

HandlerObject

Object

EventName

A string value.

HandlerFunction

A string value.