GetDocumentProp

Fetches properties of the document whose document index is passed in the input paramter.

Public Function GetDocumentProp(ByVal DocumentId As Long, DocumentProp() As Byte, Optional ByVal FolderId As Long = 0) As Long

 

Parameters

In/out

Name

Data type

Description

In

DocumentId

Long

Index of document

Out

 

DocumentProp

Byte

Properties of document in the  as return parameter

In

 

FolderId

Long

Index of folder containing the document

 

Description

This function is almost same as 'GetDocumnetProperties' except one parameter 'VersionNo' which is not here. So it will always get the properties of the latest version of the document.

 

Return value

Name

Description

 1

In case of success

-3

Cabinet not connected

-4

Invalid operation

 

Example

Same as GetDocumnetProperties with just one parameter missing.