Click or drag to resize

PageCDSetData Method

This method creates or modifies binary or string custom data streams stored in the page.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void CDSetData(
	CD_TYPE Type,
	string Name,
	Object Data
)

Parameters

Type
Type: Kofax.OmniPageCSDK.IproPlusCD_TYPE
Name
Type: SystemString
Data
Type: SystemObject
Remarks

The Type parameter can either be CD_BINDATA or CD_STRDATA. The Name parameter is the name of the custom data. If the data stream already exists, it is overwritten. According to the Type parameter, the Data parameter must either contain a SAFEARRAY of Bytes (Byte array for Visual Basic programmers), or a string.

Calling this method sets the Modified property of the Document object to True.

See Also