
# ILayerStackInfo interface

*No description yet.*

```csharp
public interface ILayerStackInfo
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Name](#name) | `string` | get |  |
| [TotalThickness](#totalthickness) | `int` | get |  |

### Name

*No description yet.*

```csharp
string GetState_Name();
```

**Type:** `string` · **Access:** read-only

### TotalThickness

*No description yet.*

```csharp
int GetState_TotalThickness();
```

**Type:** `int` · **Access:** read-only

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetDrillPairCount](#getdrillpaircount) | `int` |  |
| [GetDrillPairInfo](#getdrillpairinfo) | [IDrillPairInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IDrillPairInfo.md) |  |
| [GetLayerInfo](#getlayerinfo) | [ILayerInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerInfo.md) |  |
| [GetLayerPropertiesCount](#getlayerpropertiescount) | `int` |  |
| [GetLayerProperty](#getlayerproperty) | `string` |  |
| [GetLayersCount](#getlayerscount) | `int` |  |
| [IsLayerInLayerStack](#islayerinlayerstack) | `bool` |  |

### GetDrillPairCount

*No description yet.*

```csharp
int GetDrillPairCount();
```

**Returns:** `int`

### GetDrillPairInfo

*No description yet.*

```csharp
IDrillPairInfo GetDrillPairInfo(int argDrillNum);
```

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

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

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

### GetLayerInfo

*No description yet.*

```csharp
ILayerInfo GetLayerInfo(int argLayerNum);
```

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

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

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

### GetLayerPropertiesCount

*No description yet.*

```csharp
int GetLayerPropertiesCount();
```

**Returns:** `int`

### GetLayerProperty

*No description yet.*

```csharp
string GetLayerProperty(int argPropertyNum);
```

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

**Returns:** `string`

### GetLayersCount

*No description yet.*

```csharp
int GetLayersCount();
```

**Returns:** `int`

### IsLayerInLayerStack

*No description yet.*

```csharp
bool IsLayerInLayerStack(ILayerInfo argLayerInfo);
bool IsLayerInLayerStack(object argLayerInfo);
```

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

**Returns:** `bool`

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

## Returned by

[ILayerStackProvider.GetDefaultStack](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerStackProvider.md#getdefaultstack), [ILayerStackProvider.GetLayerStackInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerStackProvider.md#getlayerstackinfo)
