# PreserveViewport

> Preserves the viewport defined in the SVG document.

## Definition

* **Type:** Property
* **Namespace:** [Unity.VectorGraphics.Editor](/engine/6000.3/script-reference/unity/vectorgraphics/editor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** Use the ViewportOptions property instead

```csharp
public bool PreserveViewport { get; set; }
```
