Sets the top margin of a TX Text Control document or document section.

<void> PageMargins.setTop(<number> top, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
top The top margin of a TX Text Control document or document section.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.