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] |
---|
Public Sub SetWithOptionalParameters( _ ByRef Positions As System.Array, _ ByRef Text As System.Array, _ ByVal OptionalParameters As IAgStkGraphicsTextBatchPrimitiveOptionalParameters _ ) |
[C#] |
---|
public void SetWithOptionalParameters( |
[Managed C++] |
---|
public: void SetWithOptionalParameters( |
[Java] |
---|
public setWithOptionalParameters( |
[Unmanaged C++] |
---|
public: HRESULT SetWithOptionalParameters( |
- 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] | ![]() | |
---|---|---|
|