<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

GraphicsContainer

public sealed class GraphicsContainer : MarshalByRefObject
Represents the internal data of a graphics container. This class is used when saving the state of a Graphics object using the BeginContainer and EndContainer methods. This class cannot be inherited.
namespace System.Drawing.Drawing2D { public sealed class GraphicsContainer : MarshalByRefObject { internal int _nativeGraphicsContainer; internal GraphicsContainer(int graphicsContainer) { _nativeGraphicsContainer = graphicsContainer; } } }