Gets a top paragraph distance, in twips, at the current input position.

<void> InputFormat.getTopDistance(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the paragraph's top distance, in twips, as parameter.
errorCallback Optional. Is called when the operation failed with an error.