'Declaration
Public Overloads Sub SaveImage( _
ByVal filename As System.String, _
ByVal imgFmt As System.Drawing.Imaging.ImageFormat _
)
public void SaveImage(
System.string filename,
System.Drawing.Imaging.ImageFormat imgFmt
)
Parameters
filename
File name.
imgFmt
Image format
Remarks
This method creates an image of the specified format and display size and saves the results to the specified file. If an error occurs, an appropriate exception is thrown indicating the cause of error.