---
title: "WebPImage.RemoveBlock"
url: "https://reference.aspose.com/imaging/net/aspose.imaging.fileformats.webp/webpimage/removeblock/"
product: "Aspose.Imaging for .NET API Reference"
description: "WebPImage method. Remove the specified WebP block from the image facilitating efficient management of image data structure. Utilize this method to streamline image processing workflows by eliminating unnecessary blocks or components within your application"
---

## WebPImage.RemoveBlock method

Remove the specified WebP block from the image, facilitating efficient management of image data structure. Utilize this method to streamline image processing workflows by eliminating unnecessary blocks or components within your application.

```csharp
public void RemoveBlock(IFrame block)
```

| Parameter | Type | Description |
| --- | --- | --- |
| block | IFrame | The block to remove. |

## Remarks

Note: do not forget to Dispose the *block* if you will not add it to some other WebPImage.

### See Also

* interface [IFrame](../../iframe/)
* class [WebPImage](../)
* namespace [Aspose.Imaging.FileFormats.Webp](../../webpimage/)
* assembly [Aspose.Imaging](../../../)


