windowPreHDRender Property
[Deprecated] Use HDInterviewOptions.OnInit instead. This function is called before HotDocs builds the interview. You can use this function to perform any interview preprocessing, such as adding custom buttons to the interview toolbar or registering for interview events.

JavaScript API: Direct
Assembly: api.js Version: 1.0.0.0 (1.0.0.0)
Syntax

JavaScript
var PreHDRender

Field Value

Type: function
Examples

JavaScript
function PreHDRender()
{
    HDSetButtonVisibility("HDNextUnans", false);
    HDSetButtonVisibility("HDPrevUnans", false);
    HDAddCustomToolbarButton(HelloWorld, "http://servername/images/btn.png");
}

function HelloWorld()
{
    // do something useful here
}
See Also

Reference