CImage:KwdSetStr


The KwdSetStr method inserts a numeric value keyword string into the image header.

Syntax

CImage:KwdSetStr( sKwd, value )

where

    sKwd is the keyword name

    value is a string up to 70 characters long.

  

This method inserts into the image header a string value keyword such as FILTER or OBJECT. If the keyword name already exists, its value is overwritten by the new value.

Example

Suppose a CImage named I exists. The following script sets a numeric keyword in the header:

 

filt = "green 545"

-- value is "green 545"

I:KwdSetStr("FILTER",filt )

-- set the FILTER keyword

Related Topics

KwdSetNum

KwdGetStr

CImage class