MiDocView Object
MiDocView Multiple objects |
Represents the Microsoft Office Document Imaging 2003 viewer control, which can be used for viewing scanned document files in any environment that can host ActiveX controls.
Using the MiDocView Object
Make the viewer control available in your development environment by selecting Microsoft Office Document Imaging 11.0 Type Library from the list of available controls or components. The control resides in the main MODI library, MDIVWCTL.DLL, and is not a separate OCX file.
The properties and methods of the viewer control support the following features and functionality:
- Load a document
- Return information about the document in the viewer
- NumPages property
- PageNum property
- GetVisibleRect method
- Return or set document display characteristics
- ActionState property
- DocViewMode property
- FitMode property
- LayerVisible property
- GetScale and SetScale methods
- Work with the selection
- ImageSelection property
- TextSelection property
- SelectAll method
- Translate between coordinate systems using the ClientToDocument, DocumentToClient, ClientToImage, and ImageToClient methods.
The events of the viewer control are used to notify the developer about:
- Changes in the displayed document itself, through the PageCountChanged event.
- Changes in what is displayed in the viewer window, through the CurPageNumChanged and the VisibleRectChanged events.
- Changes in the display characteristics, through the FitmodeChanged and ScaleChanged events.
- selection changes through the SelectionChanged event.
For additional information about the viewer control, see Using the Microsoft Office Document Imaging 2003 Viewer Control.
Properties | ActionState Property | Document Property | DocViewMode Property | FileName Property | FitMode Property | ImageSelection Property | LayerVisible Property | NumPages Property | PageNum Property | TextSelection Property
Methods | ClientToDocument Method | ClientToImage Method | DocumentToClient Method | GetScale Method | GetVisibleRect Method | ImageToClient Method | MoveRectIntoView Method | MoveSelectionToView Method | SelectAll Method | SetScale Method
Events | CurPageNumChanged Event | FitmodeChanged Event | PageChanged Event | PageCountChanged Event | ScaleChanged Event | SelectionChanged Event | VisibleRectChanged Event
Parent Objects
Child Objects | IMiSelectableImage Object | IMiSelectableItem Object