Sets a value indicating whether the page orientation is landscape.

Introduced: X18.

<void> TXTextControl.setLandscape(<boolean> isLandscape, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
isLandscape Specifies whether the page orientation is landscape.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.