
# IDocumentOptionsView interface

*No description yet.*

```csharp
public interface IDocumentOptionsView : IExternalForm
```

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

**Inherits:** [IExternalForm](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md)

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [ControlState](#controlstate) | `string` | get; set |  |

### ControlState

*No description yet.*

```csharp
string GetControlState(string argId);
void SetControlState(string argId, string argValue);
```

**Type:** `string` · **Access:** read/write · **Index:** `argId` (`string`)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [CanClose](#canclose) | `bool` |  |
| [Enter](#enter) | `void` |  |
| [Initialize](#initialize) | `void` |  |
| [Leave](#leave) | `void` |  |
| [Save](#save) | `void` |  |
| [SetState_Default](#setstate_default) | `void` |  |
| [SupportsDefaults](#supportsdefaults) | `bool` |  |

### CanClose

*No description yet.*

```csharp
bool CanClose();
```

**Returns:** `bool`

### Enter

*No description yet.*

```csharp
void Enter();
```

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

### Initialize

*No description yet.*

```csharp
void Initialize(string argDocumentPath);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDocumentPath` | `string` | value |

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

### Leave

*No description yet.*

```csharp
void Leave();
```

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

### Save

*No description yet.*

```csharp
void Save();
```

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

### SetState_Default

*No description yet.*

```csharp
void SetState_Default();
```

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

### SupportsDefaults

*No description yet.*

```csharp
bool SupportsDefaults();
```

**Returns:** `bool`

## Inherited members

- From [IExternalForm](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md): [FocusFirstTabStop](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#focusfirsttabstop), [GetBounds](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#getbounds), [GetCaption](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#getcaption), [GetHandle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#gethandle), [Hide](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#hide), [ParentWindowCreated](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#parentwindowcreated), [ParentWindowDestroyed](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#parentwindowdestroyed), [SetBounds](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#setbounds), [SetFocus](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#setfocus), [SetParentWindow](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#setparentwindow), [Show](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IExternalForm.md#show)

## Returned by

[IServerModule.CreateOptionsView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerModule.md#createoptionsview)
