
# IEDMS_CommentsServicePreferences interface

*No description yet.*

```csharp
public interface IEDMS_CommentsServicePreferences
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Export_ToIni](#export_toini) | `void` |  |
| [Import_FromIni](#import_fromini) | `void` |  |
| [PCBCommentThreadMaskAreaDetails](#pcbcommentthreadmaskareadetails) | `void` |  |
| [PCBCommentThreadReferenceDetails](#pcbcommentthreadreferencedetails) | `void` |  |
| [PCBCommentThreadTextColor](#pcbcommentthreadtextcolor) | `int` |  |
| [PCBShowCommentThreads](#pcbshowcommentthreads) | `bool` |  |
| [SchCommentThreadColorSetCount](#schcommentthreadcolorsetcount) | `int` |  |
| [SchCommentThreadColorSetDetails](#schcommentthreadcolorsetdetails) | `bool` |  |
| [SchCommentThreadFontDetails](#schcommentthreadfontdetails) | `void` |  |
| [SchCommentThreadReferenceDetails](#schcommentthreadreferencedetails) | `void` |  |
| [SchCommentThreadTextAlignment](#schcommentthreadtextalignment) | [TAlignment](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/TAlignment.md) |  |
| [SchCommentThreadTextColor](#schcommentthreadtextcolor) | `int` |  |
| [SchCommentThreadTextMargin](#schcommentthreadtextmargin) | `int` |  |
| [SchShowCommentThreads](#schshowcommentthreads) | `bool` |  |
| [SetPCBShowCommentThreads](#setpcbshowcommentthreads) | `void` |  |
| [SetSchShowCommentThreads](#setschshowcommentthreads) | `void` |  |

### Export_ToIni

*No description yet.*

```csharp
void Export_ToIni();
```

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

### Import_FromIni

*No description yet.*

```csharp
void Import_FromIni();
```

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

### PCBCommentThreadMaskAreaDetails

*No description yet.*

```csharp
void PCBCommentThreadMaskAreaDetails(out int argAreaColor, out float argAreaAlpha);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argAreaColor` | `int` | out |
| `argAreaAlpha` | `float` | out |

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

### PCBCommentThreadReferenceDetails

*No description yet.*

```csharp
void PCBCommentThreadReferenceDetails(out int argLineColor, out int argLineWidth);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLineColor` | `int` | out |
| `argLineWidth` | `int` | out |

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

### PCBCommentThreadTextColor

*No description yet.*

```csharp
int PCBCommentThreadTextColor();
```

**Returns:** `int`

Extension method of `IEDMS_CommentsServicePreferencesHelper` (`using DXP;`).

### PCBShowCommentThreads

*No description yet.*

```csharp
bool PCBShowCommentThreads();
```

**Returns:** `bool`

### SchCommentThreadColorSetCount

*No description yet.*

```csharp
int SchCommentThreadColorSetCount();
```

**Returns:** `int`

### SchCommentThreadColorSetDetails

*No description yet.*

```csharp
bool SchCommentThreadColorSetDetails(int argIndex, out int argColor, out int argColorGradient1, out int argColorGradient2);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |
| `argColor` | `int` | out |
| `argColorGradient1` | `int` | out |
| `argColorGradient2` | `int` | out |

**Returns:** `bool`

### SchCommentThreadFontDetails

*No description yet.*

```csharp
void SchCommentThreadFontDetails(out string argFontName, out int argSize, out TFontStyleSet argStyle);
void SchCommentThreadFontDetails(out string argFontName, out int argSize, out ITransportSet argStyle);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argFontName` | `string` | out |
| `argSize` | `int` | out |
| `argStyle` | [TFontStyleSet](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/TFontStyleSet.md) | out |

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

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

### SchCommentThreadReferenceDetails

*No description yet.*

```csharp
void SchCommentThreadReferenceDetails(out int argLineColor, out int argLineWidth, out TPenStyle argLineStyle);
void SchCommentThreadReferenceDetails(out int argLineColor, out int argLineWidth, out int argLineStyle);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLineColor` | `int` | out |
| `argLineWidth` | `int` | out |
| `argLineStyle` | [TPenStyle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/TPenStyle.md) | out |

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

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

### SchCommentThreadTextAlignment

*No description yet.*

```csharp
TAlignment SchCommentThreadTextAlignment();
```

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

Extension method of `IEDMS_CommentsServicePreferencesHelper` (`using DXP;`).

### SchCommentThreadTextColor

*No description yet.*

```csharp
int SchCommentThreadTextColor();
```

**Returns:** `int`

Extension method of `IEDMS_CommentsServicePreferencesHelper` (`using DXP;`).

### SchCommentThreadTextMargin

*No description yet.*

```csharp
int SchCommentThreadTextMargin();
```

**Returns:** `int`

### SchShowCommentThreads

*No description yet.*

```csharp
bool SchShowCommentThreads();
```

**Returns:** `bool`

### SetPCBShowCommentThreads

*No description yet.*

```csharp
void SetPCBShowCommentThreads(bool argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | `bool` | value |

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

### SetSchShowCommentThreads

*No description yet.*

```csharp
void SetSchShowCommentThreads(bool argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | `bool` | value |

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

## Returned by

[IEDMS_CommentsService.Preferences](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentsService.md#preferences)
