DrawingPadSaveImage(Stream, ImageFormat) Method

Saves actual content of DrawingPad to the specified stream in the specified format

Definition

Namespace: BeeMobile.DrawingPad
Assembly: BeeMobile.DrawingPad.NET48 (in BeeMobile.DrawingPad.NET48.dll) Version: 4.8.0.3
C#
public void SaveImage(
	Stream aStream,
	ImageFormat aFormat
)

Parameters

aStream  Stream
The System.IO.Stream where the image will be saved.
aFormat  ImageFormat
An System.Drawing.Imaging.ImageFormat that specifies the format of the saved image.

Exceptions

ArgumentNullException stream or format is null.
ExternalException The image was saved with the wrong image format.

See Also