Example: Range property

This example inserts text after the graphic.

  TextGraphic graphic = graphics.add("myGraphic", range, "C:\\graphic.jpg");
  graphic.setHeight(5000);
  graphic.setWidth(5000);
  graphic.getRange().insertAfter("hello graphic");

Related information

Range property