ClientStation.SaveScreenAsImageFile Method

Save desktop to file
<ID("SaveScreenAsImageFile", (int)e.SaveScreenAsImageFile)> _ 
<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)> _ 
Public Function SaveScreenAsImageFile( _ 
ByVal fileName As String
) As Boolean
This language is not supported or no code example is available.
[ID("SaveScreenAsImageFile", (int)e.SaveScreenAsImageFile)] 
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public bool SaveScreenAsImageFile( 
string fileName 
)
This language is not supported or no code example is available.

Parameters

fileName
string

File name

Return Value

bool

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition