
# IPCB_CounterHoleParamsPresetList interface

*No description yet.*

```csharp
public interface IPCB_CounterHoleParamsPresetList
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Add](#add) | `void` |  |
| [AddNew](#addnew) | [IPCB_CounterHoleParamsPreset](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleParamsPreset.md) |  |
| [Clear](#clear) | `void` |  |
| [Delete](#delete) | `void` |  |
| [GetCount](#getcount) | `int` |  |
| [GetPreset](#getpreset) | [IPCB_CounterHoleParamsPreset](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleParamsPreset.md) |  |

### Add

*No description yet.*

```csharp
void Add(IPCB_CounterHoleParamsPreset argPreset);
void Add(object argPreset);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPreset` | [IPCB_CounterHoleParamsPreset](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleParamsPreset.md) | value |

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

The first overload is an extension method of `IPCB_CounterHoleParamsPresetListHelper` (`using PCB;`) with typed parameters; the second is declared by the interface.

### AddNew

*No description yet.*

```csharp
IPCB_CounterHoleParamsPreset AddNew();
```

**Returns:** [IPCB_CounterHoleParamsPreset](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleParamsPreset.md)

Extension method of `IPCB_CounterHoleParamsPresetListHelper` (`using PCB;`).

### Clear

*No description yet.*

```csharp
void Clear();
```

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

### Delete

*No description yet.*

```csharp
void Delete(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

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

### GetCount

*No description yet.*

```csharp
int GetCount();
```

**Returns:** `int`

### GetPreset

*No description yet.*

```csharp
IPCB_CounterHoleParamsPreset GetPreset(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** [IPCB_CounterHoleParamsPreset](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleParamsPreset.md)

Extension method of `IPCB_CounterHoleParamsPresetListHelper` (`using PCB;`).

## Returned by

[IPCB_CounterHoleFactory.CreateCounterHoleParamsPresetList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleFactory.md#createcounterholeparamspresetlist)
