Defines a collection of sizes, one for each
marker in the batch.
[Visual Basic .NET] |
---|
Public Sub SetSizes( _
ByRef Sizes As System.Array _
)
|
[C#] |
---|
public void SetSizes(
|
[Managed C++] |
---|
public: void SetSizes(
|
[Java] |
---|
public setSizes(
|
[Unmanaged C++] |
---|
public: HRESULT SetSizes(
|
- 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
Set
orSetPartial
method.
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.
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 | |
---|---|---|
|