OriginObject::SetShow

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 the show status of an object

Syntax

SetShow(Show)

Parameters

Show

True is the object Show, False is the object Hide

Return

None

Examples

EX1

import PyOrigin
#Assume a workbook contained multiple sheets is active
wksPage = PyOrigin.ActivePage()
nSheetIndex = 0
wks = wksPage.Layers(nSheetIndex)
wks.SetShow(0)
if wks.GetShow():
    print('The first sheet is hide')

See Also

GetShow