
# ISDFGraphicalView interface

*No description yet.*

```csharp
public interface ISDFGraphicalView
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Charts](#charts) | [IChartCollection](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChartCollection.md) | get |  |
| [Handle](#handle) | `uint` | get |  |
| [LastClickedX](#lastclickedx) | `int` | get |  |
| [LastClickedY](#lastclickedy) | `int` | get |  |
| [Painter](#painter) | [IPainter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPainter.md) | get |  |
| [WindowHandle](#windowhandle) | `uint` | get |  |

### Charts

*No description yet.*

```csharp
IChartCollection GetProperty_Charts();
```

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

The accessors are extension methods of `ISDFGraphicalViewHelper` (`using SCH;`).

### Handle

*No description yet.*

```csharp
uint GetProperty_Handle();
```

**Type:** `uint` · **Access:** read-only

### LastClickedX

*No description yet.*

```csharp
int GetProperty_LastClickedX();
```

**Type:** `int` · **Access:** read-only

### LastClickedY

*No description yet.*

```csharp
int GetProperty_LastClickedY();
```

**Type:** `int` · **Access:** read-only

### Painter

*No description yet.*

```csharp
IPainter GetProperty_Painter();
```

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

The accessors are extension methods of `ISDFGraphicalViewHelper` (`using SCH;`).

### WindowHandle

*No description yet.*

```csharp
uint GetProperty_WindowHandle();
```

**Type:** `uint` · **Access:** read-only

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [ClientMilsToScreen](#clientmilstoscreen) | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) |  |
| [CreateBarManager](#createbarmanager) | `void` |  |
| [DisableCursor](#disablecursor) | `void` |  |
| [DrawPrimitiveToDC](#drawprimitivetodc) | `void` |  |
| [EnableCursor](#enablecursor) | `void` |  |
| [GetChartHeightInMils](#getchartheightinmils) | `int` |  |
| [GetChartHeightInPixels](#getchartheightinpixels) | `int` |  |
| [GetChartTabDropIndex](#getcharttabdropindex) | `int` |  |
| [GetChartTabInsertionPoint](#getcharttabinsertionpoint) | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) |  |
| [GetChartWidthInMils](#getchartwidthinmils) | `int` |  |
| [GetChartWidthInPixels](#getchartwidthinpixels) | `int` |  |
| [GetEditablePrimitiveAtXY](#geteditableprimitiveatxy) | [IPrimitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPrimitive.md) |  |
| [GetPlotWidthInMils](#getplotwidthinmils) | `int` |  |
| [GraphicallyHighlight](#graphicallyhighlight) | `void` |  |
| [GraphicallyInvalidate](#graphicallyinvalidate) | `void` |  |
| [PerformWriteMetafile](#performwritemetafile) | `void` |  |
| [RedrawToDC](#redrawtodc) | `void` |  |
| [ScreenToClientMils](#screentoclientmils) | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) |  |
| [UpdateEnvironment](#updateenvironment) | `void` |  |
| [XMilsToPixels](#xmilstopixels) | `int` |  |
| [XPixelsToMils](#xpixelstomils) | `int` |  |
| [YMilsToPixels](#ymilstopixels) | `int` |  |
| [YPixelsToMils](#ypixelstomils) | `int` |  |
| [ZoomToRect](#zoomtorect) | `void` |  |

### ClientMilsToScreen

*No description yet.*

```csharp
Point ClientMilsToScreen(Point argP);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argP` | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) | value |

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

Extension method of `ISDFGraphicalViewHelper` (`using SCH;`).

### CreateBarManager

*No description yet.*

```csharp
void CreateBarManager();
```

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

### DisableCursor

*No description yet.*

```csharp
void DisableCursor(int argCursorIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCursorIndex` | `int` | value |

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

### DrawPrimitiveToDC

*No description yet.*

```csharp
void DrawPrimitiveToDC(uint argDC, IPrimitive argPrimitive);
void DrawPrimitiveToDC(uint argDC, object argPrimitive);
```

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

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

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

### EnableCursor

*No description yet.*

```csharp
void EnableCursor(int argCursorIndex, IPlottedWave argWave);
void EnableCursor(int argCursorIndex, object argWave);
```

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

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

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

### GetChartHeightInMils

*No description yet.*

```csharp
int GetChartHeightInMils();
```

**Returns:** `int`

### GetChartHeightInPixels

*No description yet.*

```csharp
int GetChartHeightInPixels();
```

**Returns:** `int`

### GetChartTabDropIndex

*No description yet.*

```csharp
int GetChartTabDropIndex(Point argMousePos, ref int argScrollInterval, ref int argScrollDir);
int GetChartTabDropIndex(IPoint argMousePos, ref int argScrollInterval, ref int argScrollDir);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argMousePos` | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) | value |
| `argScrollInterval` | `int` | ref |
| `argScrollDir` | `int` | ref |

**Returns:** `int`

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

### GetChartTabInsertionPoint

*No description yet.*

```csharp
Point GetChartTabInsertionPoint(int argTabIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTabIndex` | `int` | value |

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

Extension method of `ISDFGraphicalViewHelper` (`using SCH;`).

### GetChartWidthInMils

*No description yet.*

```csharp
int GetChartWidthInMils();
```

**Returns:** `int`

### GetChartWidthInPixels

*No description yet.*

```csharp
int GetChartWidthInPixels();
```

**Returns:** `int`

### GetEditablePrimitiveAtXY

*No description yet.*

```csharp
IPrimitive GetEditablePrimitiveAtXY(int argX, int argY);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argX` | `int` | value |
| `argY` | `int` | value |

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

Extension method of `ISDFGraphicalViewHelper` (`using SCH;`).

### GetPlotWidthInMils

*No description yet.*

```csharp
int GetPlotWidthInMils();
```

**Returns:** `int`

### GraphicallyHighlight

*No description yet.*

```csharp
void GraphicallyHighlight(IPrimitive argPrimitive, bool argHide);
void GraphicallyHighlight(object argPrimitive, bool argHide);
```

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

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

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

### GraphicallyInvalidate

*No description yet.*

```csharp
void GraphicallyInvalidate(IPrimitive argPrimitive);
void GraphicallyInvalidate(object argPrimitive);
```

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

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

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

### PerformWriteMetafile

*No description yet.*

```csharp
void PerformWriteMetafile(string argFileName, bool argClipboardFlag);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argFileName` | `string` | value |
| `argClipboardFlag` | `bool` | value |

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

### RedrawToDC

*No description yet.*

```csharp
void RedrawToDC(uint argDC);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDC` | `uint` | value |

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

### ScreenToClientMils

*No description yet.*

```csharp
Point ScreenToClientMils(Point argP);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argP` | [Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Point.md) | value |

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

Extension method of `ISDFGraphicalViewHelper` (`using SCH;`).

### UpdateEnvironment

*No description yet.*

```csharp
void UpdateEnvironment();
```

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

### XMilsToPixels

*No description yet.*

```csharp
int XMilsToPixels(int argXMils);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argXMils` | `int` | value |

**Returns:** `int`

### XPixelsToMils

*No description yet.*

```csharp
int XPixelsToMils(int argXPixels);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argXPixels` | `int` | value |

**Returns:** `int`

### YMilsToPixels

*No description yet.*

```csharp
int YMilsToPixels(int argYMils);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argYMils` | `int` | value |

**Returns:** `int`

### YPixelsToMils

*No description yet.*

```csharp
int YPixelsToMils(int argYPixels);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argYPixels` | `int` | value |

**Returns:** `int`

### ZoomToRect

*No description yet.*

```csharp
void ZoomToRect(Rect argRect, bool argZoomAtCursorFlag, IPlot argPlot);
void ZoomToRect(IRect argRect, bool argZoomAtCursorFlag, object argPlot);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argRect` | [Rect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/Rect.md) | value |
| `argZoomAtCursorFlag` | `bool` | value |
| `argPlot` | [IPlot](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPlot.md) | value |

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

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

## Returned by

[IChartCollection.GraphicalView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChartCollection.md#graphicalview)
