Click or drag to resize

TextBatchPrimitive.SetPartialCartographic Method (CentralBody, IEnumerable<Cartographic>, IEnumerable<String>, TextBatchPrimitiveOptionalParameters, IEnumerable<Int32>)

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void SetPartialCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions,
	IEnumerable<string> text,
	TextBatchPrimitiveOptionalParameters optionalParameters,
	IEnumerable<int> indices
)

Parameters

centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body the positions are defined on.
positions
Type: System.Collections.Generic.IEnumerable<Cartographic>
A collection of new positions used to update a subset of positions in the text batch.
text
Type: System.Collections.Generic.IEnumerable<String>
A collection of new text used to update a subset of text in the text batch.
optionalParameters
Type: AGI.Foundation.Graphics.TextBatchPrimitiveOptionalParameters
Optional per-batch parameters or per-string parameters corresponding to positions. Each per-string parameter must have the same number of elements as positions.
indices
Type: System.Collections.Generic.IEnumerable<Int32>
A collection of zero-based indices that map a corresponding position in positions to a position already in the primitive. For example, if a primitive is first given 5 positions with a call to Set, positions 1 and 3 can be modified with SetPartial by passing in positions containing two new positions and an indices collection with two elements, e.g. [1, 3]. The first position in positions will modify the position at index 1 in the primitive and the second will modify the position at index 3.
Exceptions
ExceptionCondition
ArgumentNullExceptioncentralBody is null.
InvalidOperationException The primitive's ReferenceFrame is not equal to centralBody fixed frame.
Remarks
See Also