
# IPCB_BendingLine interface

*No description yet.*

```csharp
public interface IPCB_BendingLine
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Angle](#angle) | `double` | get; set |  |
| [BoardRegion](#boardregion) | [IPCB_BoardRegion](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardRegion.md) | get |  |
| [FoldIndex](#foldindex) | `int` | get; set |  |
| [FromPoint](#frompoint) | [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) | get |  |
| [FromToPoints](#fromtopoints) | [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) | set |  |
| [Locked](#locked) | `bool` | get; set |  |
| [Radius](#radius) | `int` | get; set |  |
| [Rotation](#rotation) | `double` | get; set |  |
| [ToPoint](#topoint) | [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) | get |  |

### Angle

*No description yet.*

```csharp
double GetState_Angle();
void SetState_Angle(double argValue);
```

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

### BoardRegion

*No description yet.*

```csharp
IPCB_BoardRegion GetState_BoardRegion();
```

**Type:** [IPCB_BoardRegion](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardRegion.md) · **Access:** read-only

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

### FoldIndex

*No description yet.*

```csharp
int GetState_FoldIndex();
void SetState_FoldIndex(int argValue);
```

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

### FromPoint

*No description yet.*

```csharp
CoordPoint GetState_FromPoint();
```

**Type:** [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) · **Access:** read-only

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

### FromToPoints

*No description yet.*

```csharp
void SetState_FromToPoints(CoordPoint argFromPoint, CoordPoint argToPoint);
```

**Type:** [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) · **Access:** write-only · **Index:** `argFromPoint` ([CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md))

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

### Locked

*No description yet.*

```csharp
bool GetState_Locked();
void SetState_Locked(bool argValue);
```

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

### Radius

*No description yet.*

```csharp
int GetState_Radius();
void SetState_Radius(int argValue);
```

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

### Rotation

*No description yet.*

```csharp
double GetProperty_Rotation();
void SetProperty_Rotation(double argValue);
```

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

### ToPoint

*No description yet.*

```csharp
CoordPoint GetState_ToPoint();
```

**Type:** [CoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/CoordPoint.md) · **Access:** read-only

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddRegion](#addregion) | `void` |  |
| [IsAffectRegion](#isaffectregion) | `bool` |  |
| [MoveByXY](#movebyxy) | `void` |  |
| [RemoveRegion](#removeregion) | `void` |  |

### AddRegion

*No description yet.*

```csharp
void AddRegion(string argRegionName);
```

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

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

### IsAffectRegion

*No description yet.*

```csharp
bool IsAffectRegion(string argRegionName);
```

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

**Returns:** `bool`

### MoveByXY

*No description yet.*

```csharp
void MoveByXY(int argdX, int argdY);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argdX` | `int` | value |
| `argdY` | `int` | value |

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

### RemoveRegion

*No description yet.*

```csharp
void RemoveRegion(string argRegionName);
```

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

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

## Returned by

[IPCB_BoardOutline.BendingLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardOutline.md#bendingline), [IPCB_BoardOutline.CreateBendingLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardOutline.md#createbendingline), [IPCB_BoardRegion.CreateBendingLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardRegion.md#createbendingline), [IPCB_BoardRegion.GetBendingLines](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardRegion.md#getbendinglines)

## Accepted by

[IPCB_BoardOutline.DeleteBendingLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardOutline.md#deletebendingline), [IPCB_BoardRegion.DeleteBendingLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardRegion.md#deletebendingline)
