
# IMBA2_SDK_Component interface

*No description yet.*

```csharp
public interface IMBA2_SDK_Component : IMBA2_SDK_CoreObject
```

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

**Inherits:** [IMBA2_SDK_CoreObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_CoreObject.md)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetComponentId](#getcomponentid) | `int` |  |
| [GetName](#getname) | `string` |  |
| [GetPart](#getpart) | [IMBA2_SDK_Part](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Part.md) |  |

### GetComponentId

*No description yet.*

```csharp
int GetComponentId();
```

**Returns:** `int`

### GetName

*No description yet.*

```csharp
string GetName();
```

**Returns:** `string`

### GetPart

*No description yet.*

```csharp
IMBA2_SDK_Part GetPart();
```

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

Extension method of `IMBA2_SDK_ComponentHelper` (`using EDP;`).

## Inherited members

- From [IMBA2_SDK_CoreObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_CoreObject.md): [GetDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_CoreObject.md#getdocument), [GetObjectKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_CoreObject.md#getobjectkind)

## Returned by

[IMBA2_SDK_Face.GetComponent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Face.md#getcomponent)

## Accepted by

[IMBA2_SDK_Document.FindFaceOfComponentByRay](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Document.md#findfaceofcomponentbyray), [IMBA2_SDK_Document.FindNearestMatingItemOfComponentByRay](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Document.md#findnearestmatingitemofcomponentbyray), [IMBA2_SDK_Document.MeasureDistanceComponentToComponent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Document.md#measuredistancecomponenttocomponent), [IMBA2_SDK_Document.MeasureDistanceComponentToFace](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA2_SDK_Document.md#measuredistancecomponenttoface)
