DocViewMode Property

MiDocviewMode

DocViewMode can be one of the following MiDocViewMode constants.
miDOCVIEWMODE_CONTINUOUSPAGEVIEW (0)
miDOCVIEWMODE_SINGLEPAGEVIEW (1)
miDOCVIEWMODE_TWOCOLUMNS_CONTINUOUSPAGEVIEW (4)

expression.DocViewMode

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

Remarks

The DocViewMode property determines how many pages are displayed horizontally in the viewer control and how the user must scroll to view additional pages.

  • The miDOCVIEWMODE_CONTINUOUSPAGEVIEW option displays a single page horizontally and allows the user to scroll continuously using the vertical scroll bar to view additional pages. The user can also click the arrow buttons to jump from one page to to the next.
  • The miDOCVIEWMODE_SINGLEPAGEVIEW option also displays a single page horizontally, but only allows the user to scroll within the page using the vertical scroll bar. The user must click the arrow buttons to jump from one page to to the next.
  • The miDOCVIEWMODE_TWOCOLUMNS_CONTINUOUSPAGEVIEW option displays two pages horizontally and allows the user to scroll continuously using the vertical scroll bar to view additional pages. The user can also click the arrow buttons to jump from one pair of pages to to the next.

Applies to | MiDocView Object