Image.SaveToFile Method

SFML.Net

ImageSaveToFile Method
Save the contents of the image to a file

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public bool SaveToFile(
	string filename
)
Public Function SaveToFile ( 
	filename As String
) As Boolean
public:
bool SaveToFile(
	String^ filename
)
member SaveToFile : 
        filename : string -> bool 

Parameters

filename
Type: SystemString
Path of the file to save (overwritten if already exist)

Return Value

Type: Boolean
True if saving was successful
See Also