CImage:KwdSetStr


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

Syntax

CImage:KwdSetStr( sKwd, value )

bullet.gif    sKwd is the keyword name

bullet.gif    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 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 class

KwdSetNum

KwdGetStr


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