[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Win.Viewer.ViewType

ViewType Property

ViewType

Gets or sets the view type for displaying pages within the viewer.

Declaration
public ViewType ViewType { get; set; }
Property Value
Type Description
ViewType

One of the ViewType values that specifies how pages are displayed. The default is SinglePage, which displays one page at a time.

Remarks
<p>

The ViewType property controls the layout of pages in the viewer. It can be set to:

  • SinglePage to display one page at a time.
  • Continuous to display pages in a continuous vertical scroll.
  • MultiPage to display multiple pages at a time in a grid layout.

Changing the view type can be useful for optimizing the reading experience based on the document type or user preference.

This property is bound to the viewer's toolbar, allowing users to change the view type through the UI.