8.1.26.20 Worksheet::SetLabelVisible
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 Label visible
Syntax
SetLabelVisible(LabelType, Show = True)
Parameters
- LabelType
- one of the LABELTYPEVALS enumeration. For example LT_LONG_NAME
- Show
- True for label shown
Return
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") wks.SetLabelVisible(2,1) print("The comments label is visable")