Product Documentation
Virtuoso ADE Verifier SKILL Reference
Product Version IC23.1, November 2023

verifGetImages

verifGetImages(
g_sessionId 
[ g_relative ]
)
=> l_names / nil

Description

Returns the list of image files that have been added to images directory of the Verifier cellview.

Arguments

g_sessionId

Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).

g_relative

Determines whether to add the relative location of the file within the cellview to the image or not. If it is nil then the relative location of the image file is not added to the list of image file names.

Value Returned

l_names

List of image file names in the Verifier cellview.

nil

Image files do not exist or the operation is unsuccessful.

Examples

Opens a Verifier cellview and retrieves the list of image files from the current session.

uid = verifOpenCellView("test" "sample" "verifier")
=> 0
verifGetImages(sess)
=> nil

Gets the images. In the current example, there are none.

verifAddImage(sess "file.png") 
=> "images/file.png"

Adds file.txt from the current directory to the session.

verifAddDocument(sess "wave.gif")
=> "images/spec.pdf"
Gets the list of images.
verifGetImages(sess)
=> ("file.png" "wave.gif")
Gets the list of images with their relative locations within the Verifier cellview.
verifGetImages(sess t)
=> ("images/file.png" "images/wave.gif")

Related Topics

verifAddDocument

verifAddImage

verifDocumentExists

verifGetDocuments

verifImageExists

verifRemoveDocument

verifRemoveImage


Return to top
 ⠀
X