Click or drag to resize

OpenImageFileDialogFileName Property

Gets or sets a string containing the file name selected in the file dialog box.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public string FileName { get; set; }

Property Value

Type: String
The file name selected in the file dialog box. The default value is an empty string ("").
Remarks

The file name includes both the file path and the extension. If no files are selected, this method returns an empty string ("").

This property can only be the name of one selected file. If you want to return an array containing the names of all selected files in a multiple-selection dialog box, use FileNames.

See Also