Note: This method can only be executed during application initialization or console events. See the event object for a discussion of JavaScript events.
The language-independent name of the menu item. This language-independent name is used to access the menu item (for example, for hideMenuItem). (optional) The user string (language-dependent name) to display as the menu item name. If cUser is not specified, cName is used. Menu item names can be discovered with listMenuItems. (optional) The position within the parent’s submenu to locate the new submenu. The default is to append to the end of the parent’s submenu. Specifying nPos as 0 adds the submenu to the top of the parent’s submenu.The nPos parameter is ignored in certain menus that are alphabetized. The alphabetized menus areNote: When nPos is a number, nPos is not obeyed in the Tools menu. A menu item introduced into the Tools menu comes in at the top of the menu. nPos is obeyed when nPos is a string referencing another user-defined menu item.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.133.html