Table of Contents

Method DisposeSurface

Namespace
Alternet.Skia
Assembly
Alternet.UI.Common.dll

DisposeSurface()

Releases all resources associated with the surface and resets related state.

public void DisposeSurface()

Remarks

This method disposes of the underlying surface and cleans up associated unmanaged resources, such as device contexts and bitmaps. After calling this method, the surface and related resources are no longer usable. Ensure that no further operations are performed on the surface after disposal.