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: 19.1.398.0 (19.1.398.0)
public SizeF Size { get; set; }

Property Value

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

To use user-defined per-marker sizes, the marker batch must be constructed with MarkerBatchSizeSource.UserDefined, otherwise each marker's size is it's 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