CImage:KwdGetValEx CImage:KwdSetBlank

CImage:KwdSetStr


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

Syntax

CImage:KwdSetStr( sKwd, value )

    sKwd is the keyword name

    value is a string up to 70 characters long.

Remarks

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 fragment sets a numeric keyword in the header:

 

filt = "green 545"

-- value is "green 545"

I:KwdSetStr("FILTER",filt )

-- set the FILTER keyword

Related Topics

CImage, KwdSetNum, KwdGetStr