
# GetStateProc delegate

*No description yet.*

```csharp
public delegate void GetStateProc(IServerDocumentView argContext, ref string argParameters, ref bool Enabled, ref bool Checked, ref bool Visible, ref string Caption, ref string ImageFile);
```

**Namespace:** DXP · **Assembly:** Altium.SDK

## Parameters

| Parameter | Type | Passing |
| --- | --- | --- |
| `argContext` | [IServerDocumentView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocumentView.md) | value |
| `argParameters` | `string` | ref |
| `Enabled` | `bool` | ref |
| `Checked` | `bool` | ref |
| `Visible` | `bool` | ref |
| `Caption` | `string` | ref |
| `ImageFile` | `string` | ref |

**Returns:** nothing (`void`)

## Returned by

[CommandHandler.OnGetState](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/CommandHandler.md#ongetstate)

## Accepted by

[CommandLauncher.RegisterCommand](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/CommandLauncher.md#registercommand)
