verifImageExists
verifImageExists(
g_sessionId
t_fileName
)
=> t / nil
Description
Checks if the given file exists in the images directory of the Verifier cellview.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
|
The file exists in |
|
Examples
Opens a Verifier cellview and adds an image file from the current directory to the session.
uid = verifOpenCellView("test" "sample" "verifier")
=> 0
Adds file.png from the current directory to the session.
verifAddDocument(sess "file.png")
=> "images/file.png"
Checks if the file has been added.
verifImageExists(sess "file.png")
=> t
Returns nil if the check is performed for a file that was not added.
verifImageExists(sess "another_file.png")
=> nil
Related Topics
Return to top