---
title: "Location.Replace"
url: "https://reference.aspose.com/svg/net/aspose.svg.window/location/replace/"
product: "Aspose.SVG for .NET API Reference"
description: "Location Replace method. Removes the current page from the session history and navigates to the given page"
---

## Location.Replace method

Removes the current page from the session history and navigates to the given page.

```csharp
public void Replace(string url)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | String | The string URL to navigate. |

### See Also

* class [Location](../)
* namespace [Aspose.Svg.Window](../../../aspose.svg.window/)
* assembly [Aspose.SVG](../../../)
