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( _ ByVal Positions As System.Array, _ ByVal Text As System.Array, _ ByVal OptionalParameters As IAgStkGraphicsTextBatchPrimitiveOptionalParameters _ ) |
[C#] |
---|
public void SetWithOptionalParameters( System.Array Positions, System.Array Text, IAgStkGraphicsTextBatchPrimitiveOptionalParameters OptionalParameters ); |
[Managed C++] |
---|
public: void SetWithOptionalParameters( System::Array ^ Positions, System::Array ^ Text, IAgStkGraphicsTextBatchPrimitiveOptionalParameters ^ OptionalParameters ); |
[Unmanaged C++] |
---|
public: HRESULT SetWithOptionalParameters( SAFEARRAY * * Positions, SAFEARRAY * * Text, IAgStkGraphicsTextBatchPrimitiveOptionalParameters * OptionalParameters ); |
[Java] |
---|
public void setWithOptionalParameters( AgSafeArray Positions, AgSafeArray Text, IAgStkGraphicsTextBatchPrimitiveOptionalParameters OptionalParameters ); |
[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] | ||
---|---|---|
|