CImage:KwdDelete CImage:KwdGetDMS

CImage:KwdExists


The KwdExists method tests whether a keyword exists in the image header.

Syntax

bResult = CImage:KwdExists( sKwd )

bullet.gif    sKwd is the name of the keyword to be tested.

bullet.gif    If the keyword exists, the method returns true.

bullet.gif    Otherwise, false is returned.

Remarks

This method returns true if an instance of the named keyword is found in the image header. It does not return information about the contents of the keyword of the location of the keyword.

Example

Suppose a CImage named I exists and contains keyword "DARKTIME". The following script informs the script whether the keyword exists in image I:

if I:KwdExists("DARKTIME") then

-- test if keyword is in the header

  -- do something

-- do something

end

 

Related Topics

CImage


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.