CImage:KwdDelete


The KwdDelete method removes a keyword from the image header.

Syntax

CImage:KwdDelete( sKwd )

where

    sKwd is the name of the keyword to be deleted.

  

This method removes the keyword line for keywords that appear once in a header. Some keywords such as HISTORY can occur multiple times. In the latter case, only the first instance of the keyword is removed.

Example

Suppose a CImage named I exists and contains the keyword "GCOEF". To remove that keyword, call the following method:

I:KwdDelete( "GCOEF" )

-- delete the GCOEF keyword

b = I:KwdExists( "GCOEF" )

-- returns b = false

Related Topics

CImage class