Description
Defines a collection of sizes, one for each
marker in the batch.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub SetSizes( _
ByRef Sizes() As Variant _
)
|
Parameters
- Sizes
- An array containing the size (in the order width, height) for
each marker in the batch. There must be one width followed by one
height for each position passed to the Marker Batch Primitive's
SetorSetPartialmethod.
Remarks
To use user-defined per-marker sizes, the marker batch must be initialized 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.
Per-marker sizes override the per-batch size. Therefore, when per-marker sizes are defined with this method, MarkerBatchPrimitive.Size is not used.
Example
Shows the format of
the Sizes parameter when setting per marker sizes.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Sizes parameter when setting per marker sizes.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||