Example: item method

This example gets the first graphic object in the document.

  TextGraphics graphics = document.getTextGraphics();
  TextGraphic graphic = graphics.item(1);

Related information

item method