add method

This method inserts a graphic object into the document.

Defined in

SymphonyTextGraphics

Syntax

public TextGraphic add( String name, TextRange position , String graphicFile) throws SymphonyException

Parameters

String name

Specifies the name of the graphic object.

TextRange position

Specifies the position of the graphic object to be added.

String graphicFile

Specifies the path of the graphic file to be inserted. If the file does not exist, this method throws an exception.

Return Value

graphic

A TextGraphic object that represents a graphic object.

See examples

Example: add method