Seek, Seek 259 – Kofax DM API User Manual

Page 279

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

259

Seek

Seek

Use this method to position the file’s current position pointer to a
specific byte offset within the physical file.

Syntax

PCDGetStream.Seek( lngSeekOffset )

Parameter

Returns

Returns an

HRESULT

to receive the result of the call.

S_OK

indicates

success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.

Related Items

See the

PCDGetStream

object.

See the following methods:

GetPropertyValue
Read

See the following properties:

BytesRead
ErrDescription
ErrNumber

lngSeekOffset

An unsigned long integer that specifies the offset
from the beginning of the file object where you
want the pointer to be positioned.

Advertising