How to change page mode from the plugin API

Released in Version 1, Update 83.