Click or drag to resize

DocumentView Methods

The DocumentView type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a new document.
Public methodAttach
Use this method to attach the control to the Engine.Documents object.
Public methodDetach
Use this method to detach the control from the Engine.Documents object.
Public methodDetachAll
If n documents are open, the control is able to close all of them at the same time.
Public methodExecuteCommand(Int32)
Executes control specific command if enabled programatically.
Public methodExecuteCommand(THUMBNAILVIEWCOMMAND)
To force executing a DocumentView command.
Public methodGetCommandState(Int32, Boolean, Boolean)
Returns control specific command state as enabled or checked.
Public methodGetCommandState(THUMBNAILVIEWCOMMAND, Boolean, Boolean)
To request information about a DocumentView command.
Public methodGetMenu
Returns a full menu about its own commands.
Public methodGetMenuString
Returns control specific menu string to be displayed in a menu.
Public methodGetMessageString
Returns a detailed control specific menu string to be displayed in a menu.
Public methodGetTitle
Returns the document title; can rename the document to anything.
Public methodInt_Attach
To attach the control to an existing IPRO object.
Public methodInt_Detach
To detach the control from an existing IPRO object.
Public methodRemove
Removes a document from the Document View.
Public methodSelect
Selects an active document in the Document View.
Public methodSetCommandHelpID
Pairs a help ID to each command.
Public methodSetHelpID
If set, and F1 is pressed, returns a SetHelp ID from OnSetHelp
Public methodSetTitle
Sets the document title.
Public methodSetUILang
Sets UI language from LANGUAGES enumeration of IPRO.
Public methodUpdateCtrl
Obsolete
Top
See Also