
# CounterHoleDiameterOnDepth class

*No description yet.*

```csharp
public class CounterHoleDiameterOnDepth : ICounterHoleDiameterOnDepth
```

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

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

## Constructors

```csharp
public CounterHoleDiameterOnDepth();
public CounterHoleDiameterOnDepth(SCounterHoleDiameterOnDepth argVal);
public CounterHoleDiameterOnDepth(ICounterHoleDiameterOnDepth argVal);
```

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Data](#data) | [SCounterHoleDiameterOnDepth](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCounterHoleDiameterOnDepth.md) | get; set |  |
| [Depth](#depth) | `int` | get; set |  |
| [Diameter](#diameter) | `int` | get; set |  |
| [Material](#material) | [TCounterHoleMaterial](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TCounterHoleMaterial.md) | get; set |  |

### Data

*No description yet.*

```csharp
SCounterHoleDiameterOnDepth Data { get; set; }
```

**Type:** [SCounterHoleDiameterOnDepth](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCounterHoleDiameterOnDepth.md) · **Access:** read/write

### Depth

*No description yet.*

```csharp
int Depth { get; set; }
```

**Type:** `int` · **Access:** read/write

### Diameter

*No description yet.*

```csharp
int Diameter { get; set; }
```

**Type:** `int` · **Access:** read/write

### Material

*No description yet.*

```csharp
TCounterHoleMaterial Material { get; set; }
```

**Type:** [TCounterHoleMaterial](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TCounterHoleMaterial.md) · **Access:** read/write

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetDepth](#getdepth) | `int` |  |
| [GetDiameter](#getdiameter) | `int` |  |
| [GetMaterial](#getmaterial) | [TCounterHoleMaterial](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TCounterHoleMaterial.md) |  |

### GetDepth

*No description yet.*

```csharp
int GetDepth();
```

**Returns:** `int`

### GetDiameter

*No description yet.*

```csharp
int GetDiameter();
```

**Returns:** `int`

### GetMaterial

*No description yet.*

```csharp
TCounterHoleMaterial GetMaterial();
```

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

## Returned by

[IPCB_CounterHoleDiameterOnDepthList.Get](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleDiameterOnDepthList.md#get)

## Accepted by

[IPCB_CounterHoleDiameterOnDepthList.Add](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CounterHoleDiameterOnDepthList.md#add)
