Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- filename
- A string representation of a legal file name (path) to which the file will be saved.
- saveOptions
- SaveOptions class that evaluates to the various settings for the particular file format to which the image will be saved.
The bitmap saved will be the same bits per pixel and color depth as the current DIB. If the SaveOptions image format is set to default, one of the following valid file extensions will need to be used: .bmp, .jpg, .pic, .tif, or .pdf."