CImage:KwdGetNumEx CImage:KwdGetSectEx

CImage:KwdSetNum


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

Syntax

CImage:KwdSetNum( sKwd, value )

    sKwd is the keyword name

    value is a number.

Remarks

This method inserts into the image header a numeric value keyword such as GAIN or EXPTIME. 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:

 

t = 30.25

-- value is 30.25 seconds

I:KwdSetNum("EXPTIME",t)

-- set the EXPTIME keyword

Related Topics

CImage, KwdSetStr, KwdGetNum