importFile method

This method imports the content of a target file to the text range.

Defined in

TextRange

Syntax

public void importFile(String fileName) throws SymphonyException

Parameters

String fileName

Specifies the full name of the file to be imported. The file formats odt, doc, and txt are supported. If the file does not exist or is an unsupported file type, this method throws an exception.

Usage

Only a range of paragraphs and sections can import files.

See examples

Example: importFile method