Table of Contents

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

DefExt short

A zero based index representing the drawing filetype.

FileName string

The default filename to be used to the dialog or an empty string.

MultiSelect short

0 or 1 for multiselect.

parent Control

A 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

DefExt short

A zero based index representing the drawing filetype.

FileName string

The default filename to be used to the dialog or an empty string.

MultiSelect short

0 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.