
# CoordRect class

*No description yet.*

```csharp
public class CoordRect : ICoordRect
```

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

**Implements:** [ICoordRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ICoordRect.md)

## Constructors

```csharp
public CoordRect();
public CoordRect(SCoordRect argVal);
public CoordRect(ICoordRect argVal);
```

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Bottom](#bottom) | `int` | get; set |  |
| [BottomLeft](#bottomleft) | [SCoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCoordPoint.md) | get; set |  |
| [Data](#data) | [SCoordRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCoordRect.md) | get; set |  |
| [Hx](#hx) | `int` | get; set |  |
| [Hy](#hy) | `int` | get; set |  |
| [Left](#left) | `int` | get; set |  |
| [Location1](#location1) | [SCoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCoordPoint.md) | get; set |  |
| [Location2](#location2) | [SCoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCoordPoint.md) | get; set |  |
| [Lx](#lx) | `int` | get; set |  |
| [Ly](#ly) | `int` | get; set |  |
| [Right](#right) | `int` | get; set |  |
| [Top](#top) | `int` | get; set |  |
| [TopRight](#topright) | [SCoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/SCoordPoint.md) | get; set |  |
| [X1](#x1) | `int` | get; set |  |
| [X2](#x2) | `int` | get; set |  |
| [Y1](#y1) | `int` | get; set |  |
| [Y2](#y2) | `int` | get; set |  |

### Bottom

*No description yet.*

```csharp
int Bottom { get; set; }
```

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

### BottomLeft

*No description yet.*

```csharp
SCoordPoint BottomLeft { get; set; }
```

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

### Data

*No description yet.*

```csharp
SCoordRect Data { get; set; }
```

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

### Hx

*No description yet.*

```csharp
int Hx { get; set; }
```

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

### Hy

*No description yet.*

```csharp
int Hy { get; set; }
```

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

### Left

*No description yet.*

```csharp
int Left { get; set; }
```

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

### Location1

*No description yet.*

```csharp
SCoordPoint Location1 { get; set; }
```

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

### Location2

*No description yet.*

```csharp
SCoordPoint Location2 { get; set; }
```

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

### Lx

*No description yet.*

```csharp
int Lx { get; set; }
```

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

### Ly

*No description yet.*

```csharp
int Ly { get; set; }
```

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

### Right

*No description yet.*

```csharp
int Right { get; set; }
```

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

### Top

*No description yet.*

```csharp
int Top { get; set; }
```

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

### TopRight

*No description yet.*

```csharp
SCoordPoint TopRight { get; set; }
```

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

### X1

*No description yet.*

```csharp
int X1 { get; set; }
```

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

### X2

*No description yet.*

```csharp
int X2 { get; set; }
```

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

### Y1

*No description yet.*

```csharp
int Y1 { get; set; }
```

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

### Y2

*No description yet.*

```csharp
int Y2 { get; set; }
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetBottom](#getbottom) | `int` |  |
| [GetBottomLeft](#getbottomleft) | [ICoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ICoordPoint.md) |  |
| [GetHx](#gethx) | `int` |  |
| [GetHy](#gethy) | `int` |  |
| [GetLeft](#getleft) | `int` |  |
| [GetLocation1](#getlocation1) | [ICoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ICoordPoint.md) |  |
| [GetLocation2](#getlocation2) | [ICoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ICoordPoint.md) |  |
| [GetLx](#getlx) | `int` |  |
| [GetLy](#getly) | `int` |  |
| [GetRight](#getright) | `int` |  |
| [GetTop](#gettop) | `int` |  |
| [GetTopRight](#gettopright) | [ICoordPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ICoordPoint.md) |  |
| [GetX1](#getx1) | `int` |  |
| [GetX2](#getx2) | `int` |  |
| [GetY1](#gety1) | `int` |  |
| [GetY2](#gety2) | `int` |  |

### GetBottom

*No description yet.*

```csharp
int GetBottom();
```

**Returns:** `int`

### GetBottomLeft

*No description yet.*

```csharp
ICoordPoint GetBottomLeft();
```

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

### GetHx

*No description yet.*

```csharp
int GetHx();
```

**Returns:** `int`

### GetHy

*No description yet.*

```csharp
int GetHy();
```

**Returns:** `int`

### GetLeft

*No description yet.*

```csharp
int GetLeft();
```

**Returns:** `int`

### GetLocation1

*No description yet.*

```csharp
ICoordPoint GetLocation1();
```

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

### GetLocation2

*No description yet.*

```csharp
ICoordPoint GetLocation2();
```

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

### GetLx

*No description yet.*

```csharp
int GetLx();
```

**Returns:** `int`

### GetLy

*No description yet.*

```csharp
int GetLy();
```

**Returns:** `int`

### GetRight

*No description yet.*

```csharp
int GetRight();
```

**Returns:** `int`

### GetTop

*No description yet.*

```csharp
int GetTop();
```

**Returns:** `int`

### GetTopRight

*No description yet.*

```csharp
ICoordPoint GetTopRight();
```

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

### GetX1

*No description yet.*

```csharp
int GetX1();
```

**Returns:** `int`

### GetX2

*No description yet.*

```csharp
int GetX2();
```

**Returns:** `int`

### GetY1

*No description yet.*

```csharp
int GetY1();
```

**Returns:** `int`

### GetY2

*No description yet.*

```csharp
int GetY2();
```

**Returns:** `int`

## Returned by

[IPCB_Board.GraphicalView_ViewportRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Board.md#graphicalview_viewportrect), [IPCB_Board.WindowBoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Board.md#windowboundingrectangle), [IPCB_Component.BoundingRectangleNoNameComment](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Component.md#boundingrectanglenonamecomment), [IPCB_Component.BoundingRectangleNoNameCommentForSignals](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Component.md#boundingrectanglenonamecommentforsignals), [IPCB_ConfinementConstraint.BoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_ConfinementConstraint.md#boundingrectangle), [IPCB_Pad.BoundingRectangleOnLayer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Pad.md#boundingrectangleonlayer), [IPCB_Polygon.XBoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Polygon.md#xboundingrectangle), [IPCB_Primitive.BoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md#boundingrectangle), [IPCB_Primitive.BoundingRectangleChildren](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md#boundingrectanglechildren), [IPCB_Primitive.BoundingRectangleForPainting](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md#boundingrectangleforpainting), [IPCB_Primitive.BoundingRectangleForSelection](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md#boundingrectangleforselection), [IPCB_SplitPlane.XBoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_SplitPlane.md#xboundingrectangle), [IPCB_Text3.GetActualTextBr](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Text3.md#getactualtextbr), [IPCB_Viewport.ViewportRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Viewport.md#viewportrect)
