GraphPage::SetPageViewMode

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

 

Description

Set pageview mode of the graphpage.

Syntax

SetPageViewMode(Value)

Parameters

Value

GraphPage viewmode

0: Prview
1: Page view
2: Window view
3: Draft view

Return

None

Examples

EX1

import PyOrigin
gp=PyOrigin.GraphPages('Graph1')
if gp.IsValid():
    gp.SetPageViewMode(1)  #page view
if  gp.GetPageViewMode()==1:
    print('Page view')

See Also

GraphPage::GetPageViewMode