Method Save
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Save(Stream)
Saves this MaaFramework.Binding.MaaImage to the specified stream.
public void Save(Stream stream)Parameters
streamStream-
The stream to save the image to.
Exceptions
- MaaInteroperationException
-
The MaaFramework.Binding.MaaImage.Buffer is disposed.
Save(string)
Saves this MaaFramework.Binding.MaaImage to the specified file.
public void Save(string filename)Parameters
filenamestring-
The filePath to save the image to.
Save(IMaaImageBuffer)
Saves this MaaFramework.Binding.MaaImage to the specified buffer.
public void Save(IMaaImageBuffer buffer)Parameters
bufferIMaaImageBuffer-
The buffer to save the image to.
Exceptions
- ArgumentNullException
- MaaInteroperationException
-
The
bufferis disposed.