Application.ProjectCompile Event |
Occurs when the project is about to be compiled.
[VBScript] Public Event ProjectCompile( _ wordDocument As Word.Document _ )
[JScript] public event ProjectCompile( 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, a default handler processes this event. The default handler compiles the help project.
function Application::ProjectCompile(wordDocument)
{
Console.Message(hpInformation, "Compiling help project...");
// Add your code here
}
Application Object | Application Members | HelpProducer Namespace