Occurs when the project is about to be compiled.

[VBScript]
Public Event ProjectCompile( _
   wordDocument As Word.Document _
)
[JScript]
public event ProjectCompile(
   wordDocument : Word.Document
);

Remarks

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.

Example

function Application::ProjectCompile(wordDocument)
{
   Console.Message(hpInformation, "Compiling help project...");
   // Add your code here
}

See Also

Application Object | Application Members | HelpProducer Namespace