Click or drag to resize

MarkerBatchPrimitiveSize Property

Gets or sets the per-batch size, which is applied to each marker in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public SizeF Size { get; set; }

Property Value

Type: SizeF
Exceptions
ExceptionCondition
InvalidOperationException Cannot manually set the marker batch's size because the marker batch was not constructed with MarkerBatchSizeSource.UserDefined.
Remarks

To use user-defined per-marker sizes, the marker batch must be constructed with MarkerBatchSizeSource.UserDefined, otherwise each marker's size is its texture's size.

The size may be interpreted to be pixels or meters depending on MarkerBatchPrimitive.SizeUnit.

If per-marker sizes were specified with MarkerBatchPrimitiveOptionalParameters.SetSizes, the per-batch size is ignored.

See Also