Document.CDSetData Method
|
This method creates or modifies binary or string custom data streams stored in the document.
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, otherwise a trappable error occurs.
The Name parameter is the name of the custom data. If the data stream already exists, it is overwritten. Depending on the Type parameter, the Data parameter
must either contain a SAFEARRAY of Bytes for C++ (Byte array for Visual Basic programmers), or a string.
Calling this method sets the Modified property to True.
See Also