Kofax DM API Instrukcja Użytkownika Strona 372

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 371
352 CHAPTER 5
%ELAPSED_TIME
%ELAPSED_TIME
This token sets the ELAPSED_TIME column of the ACTIVITYLOG table
with the amount of time that the specified document was open for edit
or new version activity.
Syntax
PCDDocObject.SetProperty(“%ELAPSED_TIME”, _
iElapsedTime)
Parameters
Example
'Create the object.
pDocObject = CreateObject("PCDClient.PCDDocObject.1")
'Check for errors.
checkError( pDocObject, "ERROR_CREATEDOCOBJECT" )
'Set the login security information (DST).
pDocObject.SetDST( strDST )
'Use the cyd_defprof form file to set the object properties.
pDocObject.SetObjectType("cyd_defprof")
'Set the library.
pDocObject.SetProperty( "%TARGET_LIBRARY", library )
'Set the object number.
pDocObject.SetProperty( "%OBJECT_IDENTIFIER", docnum )
'Set the version number.
pDocObject.SetProperty( "%VERSION_ID", version_id )
'Lock the document for checkout.
%ELAPSED_TIME The token identifier that indicates that
this command line contains the elapsed
time value.
iElapsedTime The elapsed time (in seconds) that the
specified document was open for edit or
new version activity.
Przeglądanie stron 371
1 2 ... 367 368 369 370 371 372 373 374 375 376 377 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag