Table of Contents

Method SaveToDesktop

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SaveToDesktop(string?, bool)

Saves the current image to the desktop with the specified file name.

public virtual void SaveToDesktop(string? imageName = null, bool uniqueName = false)

Parameters

imageName string

Optional. The name of the image file to save. If not specified, the default name "image.png" will be used.

uniqueName bool

A boolean value indicating whether to generate a unique file name if a file with the same name already exists. Optional. Default is false.