
# IComponentPainterView interface

*No description yet.*

```csharp
public interface IComponentPainterView
```

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

**Derived:** [IComponentPainterView2](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IComponentPainterView2.md)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [HideComponentTextualDescriptions](#hidecomponenttextualdescriptions) | `void` |  |
| [HighLightComponentPins](#highlightcomponentpins) | `void` |  |
| [RegisterListener](#registerlistener) | `void` |  |
| [RenameSpecifiedPins](#renamespecifiedpins) | `void` |  |
| [SetComponent](#setcomponent) | `void` | The `SetComponent` method sets the ComponentPainter object to display the specific part of a component from the library with the specified library path. |
| [SetComponentByHandle](#setcomponentbyhandle) | `void` | The `SetComponentByHandle` method sets the ComponentPainter object to display the specific part of a component. |
| [ShowAllPins](#showallpins) | `void` |  |
| [ShowPinsAsSelected](#showpinsasselected) | `void` |  |
| [ShowSpecifiedPinsOnly](#showspecifiedpinsonly) | `void` |  |

### HideComponentTextualDescriptions

*No description yet.*

```csharp
void HideComponentTextualDescriptions();
```

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

### HighLightComponentPins

*No description yet.*

```csharp
void HighLightComponentPins(string argPinNameList, int argHighlightColor, int argNonHighlightColor);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPinNameList` | `string` | value |
| `argHighlightColor` | `int` | value |
| `argNonHighlightColor` | `int` | value |

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

### RegisterListener

*No description yet.*

```csharp
void RegisterListener(IComponentPinSelectionListener argPinSelectionListener);
void RegisterListener(object argPinSelectionListener);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPinSelectionListener` | [IComponentPinSelectionListener](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IComponentPinSelectionListener.md) | value |

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

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

### RenameSpecifiedPins

*No description yet.*

```csharp
void RenameSpecifiedPins(string argPinNamesParam);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPinNamesParam` | `string` | value |

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

### SetComponent

The `SetComponent` method sets the ComponentPainter object to display the specific part of a component from the library with the specified library path. Note a component can be a multi-part component and the first part is numbered 1 and so on.

```csharp
void SetComponent(string argLibReference, string argLibraryPath, int argPartIndex, bool argHideTextualDescription);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLibReference` | `string` | value |
| `argLibraryPath` | `string` | value |
| `argPartIndex` | `int` | value |
| `argHideTextualDescription` | `bool` | value |

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

A component painter object can also be set with the component's handle of [`ISch_Component`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Component.md) type.

### SetComponentByHandle

The `SetComponentByHandle` method sets the ComponentPainter object to display the specific part of a component. Note a component can be a multi-part component and the first part is numbered 1 and so on.

```csharp
void SetComponentByHandle(ISch_Component argHandle, int argPartIndex);
void SetComponentByHandle(object argHandle, int argPartIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argHandle` | [ISch_Component](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Component.md) | value |
| `argPartIndex` | `int` | value |

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

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

A component painter object can also be set with the full path to a library and its component.

**See also:** [IComponentPainterView.SetComponent](#setcomponent)

### ShowAllPins

*No description yet.*

```csharp
void ShowAllPins();
```

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

### ShowPinsAsSelected

*No description yet.*

```csharp
void ShowPinsAsSelected(string argPinNameList);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPinNameList` | `string` | value |

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

### ShowSpecifiedPinsOnly

*No description yet.*

```csharp
void ShowSpecifiedPinsOnly(string argPinNameList);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPinNameList` | `string` | value |

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

## Returned by

[ISch_ServerInterface.CreateComponentPainter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_ServerInterface.md#createcomponentpainter)
