GetDocument

Returns the definition of a document, as well as the document’s security class and description.

Syntax

<HsvReports>.GetDocument(bstrPath, bstrName, lDocumentType, lDocumentFileType, pbstrDescription, plSecurityClass)

Argument

Description

bstrPath

String (ByVal). The path to the document.

bstrName

String (ByVal). The name of the document.

lDocumentType

Long (ByVal). Identifies the type of document to return. Valid values are represented by the HFMConstants type library constants listed in Document Type Constants.

lDocumentFileType

Long (ByVal). Identifies the file type of the documents to return. Valid values are represented by the HFMConstants type library constants listed in Document File Type Constants.

pbstrDescription

String. Returns the description of the document.

plSecurityClass

Long. Returns the ID of the document’s security class.

Return Value

Variant. Returns the document’s definition.