8.1.26.11 Worksheet::GetLabelVisible

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

Show or hide some labels on worksheet

Syntax

GetLabelVisible(LabelType)

Parameters

LabelType
one of the LABELTYPEVALS enumeration. For example LT_LONG_NAME

Return

Returns True on successful and False on failure.

Examples

wks=PyOrigin.WorksheetPages('Book1').Layers(0)
#test if comments label visable
if wks.GetLabelVisible(2)==1:
    print("The comments label is visable")
else:
    print("The comments label is invisable")

See Also

Worksheet-SetLabelVisible