Method GetOpenFileNameDlg
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
GetOpenFileNameDlg(short, string, short, Control)
Displays the OpenFile dialog with a preview image.
public object GetOpenFileNameDlg(short DefExt, string FileName, short MultiSelect, Control parent)
Parameters
DefExtshortA zero based index representing the drawing filetype.
FileNamestringThe default filename to be used to the dialog or an empty string.
MultiSelectshort0 or 1 for multiselect.
parentControlA control used as parent for the form.
Returns
- object
Returns null if the dialog was canceled by the user.Returns a string object if MultiSelect is 0 or a StringArray if MultiSelect is 1.
GetOpenFileNameDlg(short, string, short)
Displays the OpenFile dialog with a preview image.
public object GetOpenFileNameDlg(short DefExt, string FileName, short MultiSelect)
Parameters
DefExtshortA zero based index representing the drawing filetype.
FileNamestringThe default filename to be used to the dialog or an empty string.
MultiSelectshort0 or 1 for multiselect.
Returns
- object
Returns null if the dialog was canceled by the user.Returns a string object if MultiSelect is 0 or a StringArray if MultiSelect is 1.