FabricationService.GetButtonCount
Method
Description:
Gets the number of buttons for a given palette in the service.
Gets the number of buttons for a given palette in the service.
Parameters
| Parameter | Type | Description |
|---|---|---|
| palette | Int32 | The index of the palette |
Return Value
| Type | Description |
|---|---|
| Int32 | The number of buttons. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The index palette is not larger or equal to 0 and less than PaletteCount. |