DynamicTextShape VariableName
Gets or sets the variable that will be used to update this dynamic text shape. Use this variable name in the script, to easily access properties and methods in dynamic text shape.
| public string VariableName {get;Set} |
Return value
| string | Name of the variable |
Example
Copy
//Dynamic Text
DynamicTextShape dynamicText = new DynamicTextShape();
dynamicText.Height = 10;
dynamicText.Location = new Point3D(0, 0, 0);
dynamicText.VariableName = "dynText1";
dynamicText.Text = "Sample Text";
dynamicText.EvaluateVariableTags = true;
dynamicText.FontName = "Arial";
dynamicText.CharacterGap = 0;
dynamicText.ScaleX = 1;
dynamicText.ScaleY = 1;
dynamicText.Angle = 0;