Occurs when the project is about to be compiled.

Public Event ProjectCompile( _
   wordDocument As Word.Document _
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

See Also

Application Object | Application Members | HelpProducer Namespace