Skip to main content
This API returns the display size of the currently opened page and is intended for current-page element operations such as batchUpdatePageElements, insertPageElements, and modifyPageElements. When these APIs operate on the current page, call getPageDisplaySize to get the current page display size instead of calling PluginFileAPI.getPageSize, otherwise the position data may not match.
Returns

Example