Defines the positions, text, and optional parameters of strings in a text batch. The strings are rendered in the primitive's Reference Frame.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
|
| [Managed C++] |
|---|
|
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
|
[Python - STK API ] |
|---|
def SetWithOptionalParameters(self, Positions:list, Text:list, OptionalParameters:"IAgStkGraphicsTextBatchPrimitiveOptionalParameters") -> None: |
- Positions
- An array containing the new positions (in the order x, y, z) for each string in the text batch.
- Text
- The text for strings in the text batch. Each element in this collection corresponds to a set of x, y, and z elements in positions.
- OptionalParameters
- Optional per-batch parameters or per-string parameters corresponding to positions. Each per-string parameter must have the same number of elements as positions.
This call overwrites the primitive's previous strings. To update a subset of string, use Set Partial
See Text Batch Primitive Optional Parameters for details on how to define per-batch and per-string parameters.
Shows the format of the Text, Positions, Colors and Indices parameters when updating a text batch primitive.
| [C#] | ||
|---|---|---|
| ||
Shows the format of the Text, Positions, Colors and Indices parameters when updating a text batch primitive.
| [Visual Basic .NET] | ||
|---|---|---|
| ||






