8.1.21.10 OriginObject::GetShow

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

Get the show status of an object

Syntax

GetShow()

Parameters

Return

True is the object is Show, False if the object is Hide

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

SetShow