Sets the distance, in twips, of the top border line either from the edge of the page or from the text, depending on the MeasureFromText.

<void> PageBorder.setTopDistance(<number> topDistance, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

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