Assembly.OnCanOpenFile Event

This event is fired when a file can be opened.

Syntax

void OnCanOpenFile ( string FileName, ref bool bCanOpen, ref bool bOverride )

Parameters Description
FileName A file name.
bCanOpen Indicates if the file can be opened.
bOverride Return parameter:
  • *override == true means that HotDocs will not open the file.
  • *override == false means that HotDocs will continue normally.

Return Value

An integer indicating the index of the new Value within the Answer object.