SetStringProperty Method

Sets the value of a String type property.

Applies to objects: Shape

Syntax

object.SetStringProperty( data, propTag [, num[, geom]] )

The SetStringProperty method syntax has these parts:

Part Description
object Required. An expression that returns an instance of the Shape object.
data Required. An expression that returns a String value. The value to be set to the property.
propTag Required. An expression that returns a Long value. A tag that identifies the property of the object.
num Optional. An expression that returns a Long value. An additional identifying argument. It's used for specifying properties from collections of the object.
geom Optional. An expression that returns a Long value. An additional identifying argument. It's used for specifying properties from geometry collections of the object.

Remarks

ConceptDraw shapes are described by sets of properties which can have so called table formulas. Properties can be viewed or edited in the shape parameter table, called from a menu or using the F3 key in ConceptDraw. Each property is described by its value and a table formula.

This method is one of the methods of the Shape object, which allow to access the properties from a ConceptDraw Basic script. Such methods use three arguments for choosing the needed property: propTag, num, geom. Here, propTag is the tag that corresponds to the name of the property, and num and geom indicate the numbers of the properties in the collections. ConceptDraw Basic has a set of constants that define all possible property tags.

 

See Also

GetByteProperty method, GetBooleanProperty method, GetIntegerProperty method, GetLongProperty method, GetSingleProperty method, GetDoubleProperty method, GetStringProperty method, ColorProperty method,
SetByteProperty method, SetBooleanProperty method, SetIntegerProperty method, SetLongProperty method, SetSingleProperty method, SetDoubleProperty method, SetStringProperty method, IsDefaultFormula method, IsNullFormula method, GetPropertyFormula method, SetPropertyFormula method, SetDefaultFormula method, SetNullFormula method, RecalcProperty method, PropertyChanged method