Document.CDGetData Method
|
This method retrieves custom data stored in the document.
Namespace:
Kofax.OmniPageCSDK.IproPlus
Assembly:
Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntaxpublic Object CDGetData(
CD_TYPE Type,
string Name
)
Public Function CDGetData (
Type As CD_TYPE,
Name As String
) As Object
public:
Object^ CDGetData(
[InAttribute] CD_TYPE Type,
[InAttribute] String^ Name
)
Parameters
- Type
- Type: Kofax.OmniPageCSDK.IproPlus.CD_TYPE
- Name
- Type: System.String
Return Value
Type:
Object
Remarks
The value of the Type parameter can either be CD_BINDATA or CD_STRDATA, otherwise a trappable error occurs.
The Name parameter is the name of the user data stream. If the requested user data stream does not exist, a trappable error occurs.
The returned data is an array of Bytes or a string according to the value of the Type parameter.
See Also