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.
The bitmap saved will be the same bits per pixel and color depth as the current DIB. Valid file extensions for this filename are .bmp, .jpg, .pic, .tif, and .pdf.