This example removes the first graphic object.
TextGraphics graphics = document.getTextGraphics(); TextGraphic graphic = graphics.item(1); graphic.remove();
Related information
remove method