Rendition_type, Rendition_type 45, Syntax – Kofax DM API User Manual

Page 479: Parameters example

Advertising
background image

DM API T

OKENS

459

%RENDITION_TYPE

%RENDITION_TYPE

This token is used to check whether the DM Server can deliver
documents in

BINDER

mode.

Syntax

PCDGetDoc.AddSearchCriteria( _

“%RENDITION_TYPE”, “BINDER”)

Parameters

Example

'Create a PCDGetDoc object.

pGetDoc = CreateObject("PCDClient.PCDGetDoc.1")


'Set the DM security token.

pGetDoc.SetDST(strDST)


'Set the search criteria to check for binder docs.

pGetDoc.AddSearchCriteria("%RENDITION_TYPE","BINDER")


'Execute the search.

pGetDoc.Execute


'If there was an error, the DM Server will not be able to

'deliver binder documents.

If (pGetDoc.ErrNumber = -2147220814) Then binderrendition = False


'Display the search results.

If (binderrendition) Then

MsgBox(“Documents can be delivered in BINDER mode.”)

Else

MsgBox(“Documents cannot be delivered in BINDER mode.”)

End If


'Release the memory used for the result set.

%RENDITION_TYPE

The token identifier that queries to
determine whether or not the DM Server
can deliver documents in the specified
mode.

BINDER

The key word that indicates

BINDER

mode is being specified.

Advertising