VisibleRectChanged Event

Occurs whenever the portion of the document visible in the viewer control window changes, due to manual scrolling or programmatic manipulation.

expression.VisibleRectChanged

*expression   * Required. An expression that returns an MiDocView object.

Remarks

Methods of the MiDocView object that programmatically change what is visible in the viewer control also raise this event. However, the VisibleRectChanged event does not occur when the user goes from one page to the next by using the arrow buttons.

All the rectangle objects and properties in the Microsoft Office Document Imaging 2003 object model work as follows:

  • The Top and Bottom properties represent the distance in pixels from the top edge of the containing image.
  • The Left and Right properties represent the distance in pixels from the left edge of the containing image.

Applies to | MiDocView Object