This methods displays the "Open" dialog box which includes the file preview and information functions. This dialog box is used to select an image file to be opened.
[Visual Basic] Public Function OpenFileDialog()
As Boolean
[C#] public bool OpenFileDialog();
Parameters
None
Return Value
Returns True if "Open" is selected. Returns False if "Cancel" is selected.
Explanation
The OpenFileDialog method displays the "Open" dialog box which includes the file preview and information functions. This dialog box is used to select an image file to be opened.
If the Open button is clicked, then the file name and path are set into the FileName property.