TextBatchPrimitiveOptionalParametersSetOrigins Method |
Defines a collection of origins, one for each string in the batch.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void SetOrigins(
IEnumerable<Origin> origins
)
Public Sub SetOrigins (
origins As IEnumerable(Of Origin)
)
public:
void SetOrigins(
IEnumerable<Origin>^ origins
)
member SetOrigins :
origins : IEnumerable<Origin> -> unit
Parameters
- origins
- Type: System.Collections.GenericIEnumerableOrigin
The origins for each string in the batch. There must be one origin for
each string passed to the
TextBatchPrimitive's
Set or SetPartial method.
Remarks
The origin defines where the string is placed relative to its position.
Per-string origins override the per-batch origin. Therefore, when
per-string origins are defined with this method,
Origin is ignored.
See Also