PreImport

This event triggers before the import occurs.

Syntax

ScriptModule_PreImport(pWorkdoc As SCBCdrWorkdoc, FilePath As String, FileType As CDRDocFileType, pCancel As Boolean)
Parameter Description
pWorkdoc Workdoc object
FilePath Path of the document to import.
FileType File type

Possible values

See CDRDocFileType

pCancel
  • True: Skip the import of the current document.

    Note: When importing documents from an external batch, the PostImport event triggers.

    When importing documents from the file system, the PostImport event does not trigger.

  • False: Import the current document.