IBitmapImplSave(String, NullableInt32) Method
Saves the bitmap to a file.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void Save(
string fileName,
int? quality = null
)
Sub Save (
fileName As String,
Optional quality As Integer? = Nothing
)
abstract Save :
fileName : string *
?quality : Nullable<int>
(* Defaults:
let _quality = defaultArg quality null
*)
-> unit
Parameters
- fileName String
- The filename.
- quality NullableInt32 (Optional)
-
The optional quality for compression if supported by the specific backend.
The quality value is interpreted from 0 - 100. If quality is null the default quality
setting of the backend is applied.