API_HOME_SETVIEW

This function changes the view mode.

API function name: api_home_setview(viewMode)
Parameters: viewMode <int> [required]
Return Type:

Promise

PromiseResult will be true, if the operation was successful, otherwise false.

Programmer notes:

Possible values:

0: Normal Size

1: Actual Size

2: Fit to Width

3: Fit to Height

4: Fit to Window (Auto-Size)

Code Example:

None