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
Syntaxpublic void CDSetData(
CD_TYPE Type,
string Name,
Object Data
)
Public Sub CDSetData (
Type As CD_TYPE,
Name As String,
Data As Object
)
public:
void CDSetData(
[InAttribute] CD_TYPE Type,
[InAttribute] String^ Name,
[InAttribute] Object^ Data
)
Parameters
- Type
- Type: Kofax.OmniPageCSDK.IproPlus.CD_TYPE
- Name
- Type: System.String
- Data
- Type: System.Object
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