Gets the distance, in twips, of a header or footer to the top or bottom of the page.

<void> HeaderFooter.getDistance(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the distance, in twips, of a header or footer to the top or bottom of the page.
errorCallback Optional. Is called when the operation failed with an error.