Gets the distance, in twips, of the top border line either from the edge of the page or from the text, depending on the {@link MeasureFromText}.

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

Parameters

Parameter Description
callback Receives the distance, in twips, of the top border line either from the edge of the page or from the text, depending on the {@link MeasureFromText}.
errorCallback Optional. Is called when the operation failed with an error.