read_file

Method of IApplication

Reads file data as string or binary.

Return Value

JavaScript

var pData = Application.read_file(strFilePath, bAsBinaryArray);

Visual Basic Script

pData = Application.read_file strFilePath, bAsBinaryArray

C++

VARIANT Data;
HRESULT hr = Application.read_file(strFilePath, bAsBinaryArray, &Data);