GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / PageDisplayMode Property
Example





In This Topic
PageDisplayMode Property (GdViewer)
In This Topic
Gets or sets the current page display mode of the GdViewer control.

The single page viewing mode displays only one page at a time in the viewer area. The multi page viewing mode displays all pages one after another.

Syntax
'Declaration
 
Public Property PageDisplayMode As PageDisplayMode
public PageDisplayMode PageDisplayMode {get; set;}
public read-write property PageDisplayMode: PageDisplayMode; 
public function get,set PageDisplayMode : PageDisplayMode
public: __property PageDisplayMode get_PageDisplayMode();
public: __property void set_PageDisplayMode( 
   PageDisplayMode value
);
public:
property PageDisplayMode PageDisplayMode {
   PageDisplayMode get();
   void set (    PageDisplayMode value);
}

Property Value

The default value is PageDisplayMode.MultiplePagesView.
Remarks
Just to inform you, that you can use PageDisplayMode.MultiplePagesView applied together with the ContinuousViewMode property for continuous viewing of multipage documents.
Example
How to enable continuous viewing of multipage documents.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.PageDisplayMode = PageDisplayMode.MultiplePagesView
GdViewer1.ContinuousViewMode = True
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.PageDisplayMode = PageDisplayMode.MultiplePagesView;
GdViewer1.ContinuousViewMode = true;
See Also