
# IGridSetting interface

The `IGridSetting` interface represents the grid settings for the Schematic documents part of a project.

```csharp
public interface IGridSetting
```

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

## Remarks

The `IGridSetting` interface hierarchy is a standalone.

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [HotspotGridOn](#hotspotgridon) | `bool` | get; set | This method determines whether the hot spot grid is enabled or not and returns a true or false value. |
| [HotspotGridSize](#hotspotgridsize) | `int` | get; set | This method determines the size of the hot spot grid size. |
| [SnapGridOn](#snapgridon) | `bool` | get; set |  |
| [SnapGridSize](#snapgridsize) | `int` | get; set |  |
| [VisibleGridOn](#visiblegridon) | `bool` | get; set |  |
| [VisibleGridSize](#visiblegridsize) | `int` | get; set |  |

### HotspotGridOn

This method determines whether the hot spot grid is enabled or not and returns a true or false value.

```csharp
bool GetState_HotspotGridOn();
void SetState_HotspotGridOn(bool argB);
```

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

### HotspotGridSize

This method determines the size of the hot spot grid size.

```csharp
int GetState_HotspotGridSize();
void SetState_HotspotGridSize(int argC);
```

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

### SnapGridOn

*No description yet.*

```csharp
bool GetState_SnapGridOn();
void SetState_SnapGridOn(bool argB);
```

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

### SnapGridSize

*No description yet.*

```csharp
int GetState_SnapGridSize();
void SetState_SnapGridSize(int argC);
```

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

### VisibleGridOn

*No description yet.*

```csharp
bool GetState_VisibleGridOn();
void SetState_VisibleGridOn(bool argB);
```

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

### VisibleGridSize

*No description yet.*

```csharp
int GetState_VisibleGridSize();
void SetState_VisibleGridSize(int argC);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [CopyTo](#copyto) | `void` |  |
| [SameAs](#sameas) | `bool` |  |

### CopyTo

*No description yet.*

```csharp
void CopyTo(IGridSetting argGridSetting);
void CopyTo(object argGridSetting);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argGridSetting` | [IGridSetting](#) | value |

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

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

### SameAs

*No description yet.*

```csharp
bool SameAs(IGridSetting argGridSetting);
bool SameAs(object argGridSetting);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argGridSetting` | [IGridSetting](#) | value |

**Returns:** `bool`

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

## Returned by

[ISch_Preferences.GridPresetAt](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Preferences.md#gridpresetat)
