Sets a value specifying whether text is centered at the current input position.

<void> InputFormat.setCentered(<Boolean> centered, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
centered Specifies whether text is centered at the current input position.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.