Write, Write 30, Method – Kofax DM API User Manual

Page 320

Advertising
background image

300 C

HAPTER

4

Write

Write

Use this method to write binary data to a physical file.

Syntax

PCDPutStream.Write( vntData, lngBytes )

Parameters

Returns

Returns the actual number of bytes written during the

Write

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

Related Items

See the

PCDPutStream

object.

See the

GetPropertyValue

method.

See the following properties:

BytesWritten
ErrDescription
ErrNumber

vntData

A variant variable that contains the data to write
out to the file. It should be a

BSTR or a

SAFEARRAY.

lngBytes

The total number of bytes of data that are written
to the

vntData variable.

Advertising