Content, Related items – Kofax DM API User Manual

Page 327

Advertising
background image

DM API T

OKENS

307

%CONTENT


'Report the total components (or rows).

iCount = pGetDoc.GetReturnValue(%NUM_COMPONENTS)

MsgBox(“The totoal number of rows = “ & CStr(iCount))


'Get the first row.

pGetDoc.SetRow(1)


'Get the stream.

pGetStream = pGetDoc.GetPropertyValue("%CONTENT")


checkError(pGetDoc, "ERROR_GETCONTENT")


'Get the size of the content stream.

VerFileSize = GetStream.GetPropertyValue( _

"%ISTREAM_STATSTG_CBSIZE_LOWPART")

Related Items

See the following objects:

PCDGetDoc

PCDPutDoc

See the

GetPropertyValue

method.

See the

%ISTREAM_STATSTG_CBSIZE_LOWPART

token.

Advertising