Sets the measure used for page sizes and page margins.

Introduced: X18.

<void> TXTextControl.setPageUnit(<MeasuringUnit> pageUnit, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
pageUnit the measure used for page sizes and page margins.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.