Sets the distances, in twips, between the frame and the document's text. If a value is set to -1, it is not changed.

<void> FrameBase.setTextDistances(<Distances> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The new property value.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.