Click or drag to resize

DocumentView Class

Caution note Caution
This API is preliminary and subject to change.
Inheritance Hierarchy

Namespace:  Kofax.OmniPageCSDK.ToolBoxes
Assembly:  Kofax.OmniPageCSDK.ToolBoxes (in Kofax.OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax
public class DocumentView : AxHost, 
	ICmnVisual, ICmnVisualUIHelper, ICmnVisualUIHelperCallbackEvents

The DocumentView type exposes the following members.

Constructors
  NameDescription
Public methodDocumentView
Initializes a new instance of the DocumentView class
Top
Properties
  NameDescription
Public propertyBackgroundColor
Use this method to set the background color in the DocumentView Properties dialog.
Public propertyBorderVisible
Use this method to draw border around a DocumentView control.
Public propertyCount
Get information about how many documents a DocumentView control is aware of.
Public propertyCurrent
Returns the index of the document the user is currently watching.
Public propertyEnableAlphaBlend
Obsolete
Public propertyEnableMulticolumn
Obsolete
Public propertyEnablePageDrag
Use this method to enable dragging of selected page; default setting is true.
Public propertyEnablePageDropFromOtherDocument
Use this method to enable dropping of pages from other documents.
Public propertyEnablePageDropFromSameDocument
Use this method to enable dropping of pages from same documents.
Public propertyEnableTooltips
Use this method to show tooltips for individual images.
Public propertyIconBackgroundColor
Obsolete
Public propertyMeasurementUnits
This property controls which UNITTYPE unit is used when displaying information in thumbnail tooltips.
Public propertyOneClickActivate
Makes a page active on one click.
Public propertyThumbnailView
Returns the ThumbnailView assigned to active document.
Top
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
Events
  NameDescription
Public eventOnCloseDocument
Fired when DocumentView wants to close a document.
Public eventOnDocumentTitleChanged
Fired when the document title changed.
Public eventOnEnterModal
Public eventOnLeaveModal
Public eventOnRegisterDocument
Fired when documents are recovered after a crash.
Public eventOnRemovePages
Fired when the user is informed about which pages to delete.
Public eventOnSelectedDocumentChanged
Fired when the user changes active document in DocumentView.
Public eventOnSetHelp
Public eventOnSetMessageString
Public eventOnSetToolTip
Public eventOnUnregisterDocument
Fired when temporary files are deleted on successful change.
Top
See Also