ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Win Assembly / GrapeCity.ActiveReports.Viewer.Win Namespace / Viewer Class / ViewType Property

In This Topic
    ViewType Property (Viewer)
    In This Topic
    Gets or sets the view type for displaying pages within the viewer.
    Syntax
    'Declaration
     
    Public Property ViewType As ViewType
    public ViewType ViewType {get; set;}

    Property Value

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

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

    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.

    See Also