OriginObject::SetStrProp

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

 

Description

Set object property via LabTalk property name

Syntax

SetStrProp(strVarName, strVal)

Parameters

strVarName
Object property name
strVal
variable string value

Return

Returns 1 if strVarName is a valid name and 0 if it is not. -1 if error occurs

Examples

See Also

SetNumProp, GetStrProp