<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

IPersistStream

public static void PopulateVTable(Vtbl* vtable)

public uint AddRef()

public HRESULT GetClassID(Guid* pClassID)

public HRESULT GetSizeMax(UInt64* pcbSize)

Retrieves the size of the stream needed to save the object. (IPersistStream.GetSizeMax)

public HRESULT IsDirty()

Determines whether an object has changed since it was last saved to its stream. (IPersistStream.IsDirty)

public HRESULT Load(IStream* pStm)

Initializes an object from the stream where it was saved previously. (IPersistStream.Load)

public HRESULT QueryInterface(Guid* riid, Void** ppvObject)

public uint Release()

public HRESULT Save(IStream* pStm, BOOL fClearDirty)

Saves an object to the specified stream. (IPersistStream.Save)