> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class View

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the view.

```csharp theme={null}
public abstract class View
```

#### Inheritance

object ←
[View](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.View.md)

#### Derived

[HandledView](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.HandledView.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### View(Document)

Initializes a new instance of the [View](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.View.md) class

```csharp theme={null}
public View(Document doc)
```

#### Parameters

`doc` [Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

The document.

### View()

```csharp theme={null}
protected View()
```

## Properties

### Document

Gets the document information.

```csharp theme={null}
public Document Document { get; }
```

#### Property Value

[Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

## Methods

### Activate(bool)

Activate view.

```csharp theme={null}
public virtual void Activate(bool A_0)
```

#### Parameters

`A_0` bool

### Close()

Close view.

```csharp theme={null}
public abstract void Close()
```

### Dispose(bool)

```csharp theme={null}
protected virtual void Dispose(bool A_0)
```

#### Parameters

`A_0` bool

### Dispose()

```csharp theme={null}
public override sealed void Dispose()
```

### Draw()

Draw.

```csharp theme={null}
public virtual void Draw()
```

### OnLButtonDblClk(uint, Point)

Called when \[L-button double click].

```csharp theme={null}
public virtual void OnLButtonDblClk(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnLButtonDown(uint, Point)

Called when \[L-button down].

```csharp theme={null}
public virtual void OnLButtonDown(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnLButtonUp(uint, Point)

Called when \[L-button up].

```csharp theme={null}
public virtual void OnLButtonUp(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnMButtonDown(uint, Point)

Called when \[M-button down].

```csharp theme={null}
public virtual void OnMButtonDown(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnMButtonUp(uint, Point)

Called when \[M-button up].

```csharp theme={null}
public virtual void OnMButtonUp(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnMouseMove(uint, Point)

Called when \[mouse move].

```csharp theme={null}
public virtual void OnMouseMove(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnMouseWheel(uint, short, Point)

Called when \[use mouse wheel].

```csharp theme={null}
public virtual void OnMouseWheel(uint A_0, short A_1, Point A_2)
```

#### Parameters

`A_0` uint

`A_1` short

`A_2` Point

### OnRButtonDown(uint, Point)

Called when \[R-button down].

```csharp theme={null}
public virtual void OnRButtonDown(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### OnRButtonUp(uint, Point)

Called when \[R-button up].

```csharp theme={null}
public virtual void OnRButtonUp(uint A_0, Point A_1)
```

#### Parameters

`A_0` uint

`A_1` Point

### Resize(int, int)

Re-size.

```csharp theme={null}
public abstract void Resize(int nWidth, int nHeight)
```

#### Parameters

`nWidth` int

The width.

`nHeight` int

The height.
