
# IPCB_LayerObject_V7 interface

An electrical layer of a board in the version 7 layer model, deprecated, together with the dielectric below it.

```csharp
public interface IPCB_LayerObject_V7 : IPCB_ElectricalLayer
```

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

**Inherits:** [IPCB_LayerObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md) → [IPCB_PhysicalLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PhysicalLayer.md) → [IPCB_ElectricalLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_ElectricalLayer.md)

## Remarks

[`IPCB_LayerStack_V7.FirstLayer`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#firstlayer), [`IPCB_LayerStack_V7.NextLayer`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#nextlayer), [`IPCB_LayerStack_V7.LayerObject`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#layerobject) and the other layer members of [`IPCB_LayerStack_V7`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md) return it. It adds to the members of [`IPCB_ElectricalLayer`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_ElectricalLayer.md) the dielectric below the layer and whether the layer is shown in the view of a board.

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [IsDisplayed](#isdisplayed) | `bool` | get; set | Whether the layer is shown in the view of a board. |

### IsDisplayed

Whether the layer is shown in the view of a board.

```csharp
bool GetState_IsDisplayed(IPCB_Board argBoard);
void SetState_IsDisplayed(IPCB_Board argBoard, bool argValue);
```

**Type:** `bool` · **Access:** read/write · **Index:** `argBoard` ([IPCB_Board](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Board.md)): The board whose view is read or changed.

The accessors are extension methods of `IPCB_LayerObject_V7Helper` (`using PCB;`).

Reads false when the board is null; setting the property then has no effect. The SDK examples set it and then call [`IPCB_Board.Update_PCBGraphicalView`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Board.md#update_pcbgraphicalview) to show the change.

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Dielectric](#dielectric) | [IPCB_DielectricObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_DielectricObject.md) | Returns the dielectric below the layer, which combines the dielectric layers that directly follow it in the layer stack. |
| [LayerId](#layerid) | [TV6_Layer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TV6_Layer.md) | Returns the layer ID of the layer as a [`TV6_Layer`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TV6_Layer.md) value, the same value as [`V6_LayerID`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#v6_layerid). |

### Dielectric

Returns the dielectric below the layer, which combines the dielectric layers that directly follow it in the layer stack.

```csharp
IPCB_DielectricObject Dielectric();
```

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

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

The combined dielectric layers run up to the next layer that is not a dielectric layer or that is a coverlay layer. `DielectricHeight` is their total height. `DielectricMaterial` is their common material, or `Composite dielectric` when their materials differ; `DielectricType` is their common type, or `TDielectricType.eCore` when their types differ. A layer with an empty material or the type `TDielectricType.eNoDielectric` does not count for these two values. Setting `DielectricHeight` on the returned object distributes the new height over those layers in proportion to their heights; setting `DielectricMaterial`, `DielectricType` or `DielectricConstant` sets the value on each of them.

For a layer that is not in a layer stack, and for the bottom layer when no dielectric layer follows it, the returned object has default values: the material `FR-4`, a height of 126,000 internal units (12.6 mil), a dielectric constant of 4.8 and the type `TDielectricType.eNoDielectric`.

### LayerId

Returns the layer ID of the layer as a [`TV6_Layer`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TV6_Layer.md) value, the same value as [`V6_LayerID`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#v6_layerid).

```csharp
TV6_Layer LayerId();
```

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

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

## Inherited members

- From [IPCB_ElectricalLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_ElectricalLayer.md): [CopperThickness](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_ElectricalLayer.md#copperthickness)
- From [IPCB_LayerObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md): [IsInLayerStack](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#isinlayerstack), [LayerDisplayName](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#layerdisplayname), [LayerName](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#layername), [LayerStack](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#layerstack), [UsedByPrims](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#usedbyprims), [V6_LayerID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#v6_layerid), [V7_LayerID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerObject.md#v7_layerid)

## Returned by

[IPCB_LayerStack_V7.FirstAvailableSignalLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#firstavailablesignallayer), [IPCB_LayerStack_V7.FirstLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#firstlayer), [IPCB_LayerStack_V7.LastLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#lastlayer), [IPCB_LayerStack_V7.LayerObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#layerobject), [IPCB_LayerStack_V7.LayerObject_V7](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#layerobject_v7), [IPCB_LayerStack_V7.NextLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#nextlayer), [IPCB_LayerStack_V7.PreviousLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#previouslayer)

## Accepted by

[IPCB_LayerStack_V7.InsertInStackAbove](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#insertinstackabove), [IPCB_LayerStack_V7.InsertInStackBelow](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#insertinstackbelow), [IPCB_LayerStack_V7.NextLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#nextlayer), [IPCB_LayerStack_V7.PreviousLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#previouslayer), [IPCB_LayerStack_V7.RemoveFromStack](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_LayerStack_V7.md#removefromstack)
