BitmapImage.SaveToFile(String, ImageFileType) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves this bitmap to a file
C#
public void SaveToFile (string filename, Iot.Device.Graphics.ImageFileType fileType);
member this.SaveToFile : string * Iot.Device.Graphics.ImageFileType -> unit
Public Sub SaveToFile (filename As String, fileType As ImageFileType)
- filename
- String
The filename to save it to
- fileType
- ImageFileType
The filetype to use.
Generally, the method is not checking that the filename extension matches the file type provided.
Product | Versions |
---|---|
.NET IoT Libraries | 2.2.0 |