Sets whether the page border's distances are measured from the text.

<void> PageBorder.setMeasureFromText(<boolean> measureFromText, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
measureFromText Specifies whether the page border's distances are measured from the text.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.