GetDocumentAt

Returns a string containing the content of the document at the specified index, as well as the document’s path, document type, and file type.

Syntax

<HFMwWorkspace>.GetDocumentAt (lIndex, pvarbstrDocPath, plDocType, plDocFileType)

Argument

Description

lIndex

The index of the document. Each document in a task list is indexed.

Input argument. Long subtype.

pvarbstrDocPath

Returns the document’s path.

Input/output argument.

plDocType

Returns the document’s document type. Valid values are represented by the HFMConstants type library constants listed in Document Type Constants.

Input/output argument. Long subtype.

plDocFileType

Returns the document’s file type. Valid values are represented by the HFMConstants type library constants listed in Document File Type Constants.

Input/output argument. Long subtype.

Return Value

Returns a string containing the document’s content.