Description
Defines a collection of sizes, one for each marker in the batch.
Syntax
[Visual Basic .NET] |
---|
Public Sub SetSizes( _
ByVal Sizes As System.Array _
)
|
[C#] |
---|
public void SetSizes(
System.Array Sizes
);
|
[Managed C++] |
---|
public: void SetSizes(
System::Array ^ Sizes
);
|
[Unmanaged C++] |
---|
public: HRESULT SetSizes(
SAFEARRAY * * Sizes
);
|
[Java] |
---|
public void setSizes(
AgSafeArray Sizes
);
|
[Python - STK API ] |
---|
def SetSizes(self, Sizes:list) -> None:
|
Parameters
Remarks
See Also
Example
Shows the format of the Sizes parameter when setting per marker sizes.
[C#] |
---|
Array size = new object[]
{
256,
128,
128,
256
};
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize();
parameters.SetSizes(ref size);
|
|
Shows the format of the Sizes parameter when setting per marker sizes.
[Visual Basic .NET] |
---|
Dim size As Array = New Object() {256, 128, 128, 256}
Dim parameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize()
parameters.SetSizes(size)
|
|