<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />
Windows.Win32.Graphics.Gdi.SaveDcScope
Helper to scope lifetime of a saved device context state.
namespace Windows.
Win32.
Graphics.
Gdi
{
internal readonly ref struct SaveDcScope
{
public HDC HDC { get; }
public SaveDcScope(
HDC hdc);
public void Dispose();
}
}