Documentation

Load presentation with subset of pages

var player;
function icOnAppLoaded(){
    player = icCreatePlayer('_icplayer');
    // Set subset of pages before loading content
    player.setPages('2,3,4');
    player.load('content/default.ic.xml');
}

Remarks

  • Pages should be set before content.
  • Argument for setPages() method should be string with page indexes separated by commas - otherwise IllegalArgumentException will be thrown.
  • State for the presentation with subset of pages selected is incompatible with the presentation including all pages.