---
title: "Interface IBeforeSavingEventHandlerT"
url: "https://reference.aspose.com/page/net/aspose.page.xps.features.eventbasedmodifications/ibeforesavingeventhandler-1/"
product: "Aspose.Page for .NET API Reference"
description: "Aspose.Page.XPS.Features.EventBasedModifications.IBeforeSavingEventHandler1T interface. Defines the common beforesaving event handler interface"
---

## IBeforeSavingEventHandler&lt;T&gt; interface

Defines the common before-saving event handler interface.

```csharp
public interface IBeforeSavingEventHandler<T>
    where T : IModificationAPI
```

| Parameter | Description |
| --- | --- |
| T | The modification API type. |

## Methods

| Name | Description |
| --- | --- |
| [Handle](../../aspose.page.xps.features.eventbasedmodifications/ibeforesavingeventhandler-1/handle/)(BeforeSavingEventArgs&lt;T&gt;) | Handles the event. |

### See Also

* interface [IModificationAPI](../imodificationapi/)
* namespace [Aspose.Page.XPS.Features.EventBasedModifications](../../aspose.page.xps.features.eventbasedmodifications/)
* assembly [Aspose.Page](../../)


