Skip to main content
layer follows the same rule as other page element operation APIs: for note files (.note), omitting it uses the current layer; for recognized notes and document files, the parameter is ignored whether you pass it or not because they have only one layer.
Parameters Returns Throws
  • Throws a parameter validation error when numsInPage is not a valid integer array
  • Throws a parameter validation error when page is not an integer greater than or equal to 0
  • Throws a parameter validation error when layer is provided but is not an integer in the range 0-3

Example