Application.ProjectDisplay Event |
Occurs when the project help file is about to be displayed.
[VBScript] Public Event ProjectDisplay( _ wordDocument As Word.Document _ )
[JScript] public event ProjectDisplay( wordDocument : Word.Document );
If you want to customize the export process, you can attach your function to this event. If you do not override this event handler, the default handler processes this event. The default handler displays the compiled help file.
function Application::ProjectDisplay(wordDocument)
{
Console.Message(hpInformation, "Displaying help file...");
// Add your code here
}
Application Object | Application Members | HelpProducer Namespace