Kofax DM API Manual de usuario Pagina 326

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 325
306 CHAPTER 5
%CONTENT
%CONTENT
This token is used to retrieve a stream for the content of the document.
It can also be used to update the document.
Syntax
PCDGetDoc.GetPropertyValue(“%CONTENT”)
PCDPutDoc.GetPropertyValue(“%CONTENT”)
Parameters
Example
'Create the object.
pGetDoc = CreateObject("PCDClient.PCDGetDoc.1")
'check for errors
checkError(pGetDoc, "ERROR_CREATEGETDOC")
'add library to the search criteria
pGetDoc.AddSearchCriteria("%TARGET_LIBRARY", library)
'add docnum the search criteria
pGetDoc.AddSearchCriteria("%DOCUMENT_NUMBER", docnum)
'add version of the doc the search criteria
pGetDoc.AddSearchCriteria("%VERSION_ID", version_id)
'run the search
pGetDoc.Execute()
'check error
checkError(pGetDoc, "ERROR_CHECKOUTFILESIZE")
%CONTENT Used with the PCDGetDoc object, the
%CONTENT token retrieves a pointer to
a PCDGetStream object that allows
the program to get the content of the
document.
Used with the PDCPutDoc object, the
%CONTENT token retrieves a pointer to
the PCDPutStream object so the
content of the document can be written.
Vista de pagina 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 527 528

Comentarios a estos manuales

Sin comentarios