OnSetUp()



Description

OnSetUp is called before connections to all data-sources used or referenced are established, allowing you to safely alter input/output data-sources. Any and all setup or alteration of input and output data-sources should be done at this time.


Syntax


Function OnSetUp


Parameters


none


Return value


none


Example

This VBScript sample creates and opens a text file to be used during the conversion process.

Function OnSetUp
dim inputA
inputA = "C:\Users\Name\Desktop\dataquick.pdf"
this.SetInputFile(inputA)
End Function


See also

TextConverter's Context Methods
OnRecord()
OnStartProcess()