Saves the displayed shapes as an image.

SaveImage(System.IO.Stream, System.Drawing.Imaging.ImageFormat)

public void SaveImage(System.IO.Stream imageStream, System.Drawing.Imaging.ImageFormat format);

SaveImage(String, System.Drawing.Imaging.ImageFormat)

public void SaveImage(string imageFileName, System.Drawing.Imaging.ImageFormat format);

Parameters

Parameter Description
imageFileName Specifies a file the image is saved to.
format Specifies the format used to save the image.
imageStream Specifies an object of type System.IO.Stream the image is saved to.