Dialog interface

Represents a built-in dialog box.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("000209B8-0000-0000-C000-000000000046")]
public interface Dialog

The Dialog object is a member of the Dialogs collection. The Dialogs collection contains all the built-in dialog boxes in Microsoft Word. You cannot create a new built-in dialog box or add one to the Dialogs collection.

Use Dialogs(index), where index is a WdWordDialog constant that identifies the dialog box, to return a single Dialog object.

The WdWordDialog constants are formed from the prefix "wdDialog" followed by the name of the menu and the dialog box. For example, the constant for the Page Setup dialog box is wdDialogFilePageSetup, and the constant for the New dialog box is wdDialogFileNew.

Show:
© 2014 Microsoft