
# CoordRect class

*No description yet.*

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

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

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

## Constructors

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Bottom](#bottom) | `int` | get; set |  |
| [Data](#data) | [SCoordRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/SCoordRect.md) | get; set |  |
| [Left](#left) | `int` | get; set |  |
| [Location1](#location1) | [SPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/SPoint.md) | get; set |  |
| [Location2](#location2) | [SPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/SPoint.md) | get; set |  |
| [Right](#right) | `int` | get; set |  |
| [Top](#top) | `int` | 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

### Data

*No description yet.*

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

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

### Left

*No description yet.*

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

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

### Location1

*No description yet.*

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

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

### Location2

*No description yet.*

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

**Type:** [SPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/SPoint.md) · **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

### 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` |  |
| [GetLeft](#getleft) | `int` |  |
| [GetLocation1](#getlocation1) | [IPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IPoint.md) |  |
| [GetLocation2](#getlocation2) | [IPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IPoint.md) |  |
| [GetRight](#getright) | `int` |  |
| [GetTop](#gettop) | `int` |  |
| [GetX1](#getx1) | `int` |  |
| [GetX2](#getx2) | `int` |  |
| [GetY1](#gety1) | `int` |  |
| [GetY2](#gety2) | `int` |  |

### GetBottom

*No description yet.*

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

**Returns:** `int`

### GetLeft

*No description yet.*

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

**Returns:** `int`

### GetLocation1

*No description yet.*

```csharp
IPoint GetLocation1();
```

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

### GetLocation2

*No description yet.*

```csharp
IPoint GetLocation2();
```

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

### GetRight

*No description yet.*

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

**Returns:** `int`

### GetTop

*No description yet.*

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

**Returns:** `int`

### 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

[IDocumentPainterView.GetStringMaxMin](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IDocumentPainterView.md#getstringmaxmin), [ISch_Document.BoundingRectangle_Selected](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Document.md#boundingrectangle_selected), [ISch_Document.Graphical_VirtualRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Document.md#graphical_virtualrectangle), [ISch_GraphicalObject.BoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#boundingrectangle), [ISch_GraphicalObject.BoundingRectangle_Full](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#boundingrectangle_full), [ISch_TextFrame.TextMargins](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_TextFrame.md#textmargins)

## Accepted by

[ISch_Document.ChooseRectangleInteractively](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Document.md#chooserectangleinteractively)
