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);
Public Sub SaveImage(ByVal imageStream As System.IO.Stream, ByVal format As System.Drawing.Imaging.ImageFormat)

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

public void SaveImage(string imageFileName, System.Drawing.Imaging.ImageFormat format);
ublic Sub SaveImage(ByVal imageFileName As String, ByVal format As System.Drawing.Imaging.ImageFormat)

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.