Public Member Functions | |
add_sheet (self, name='', active=True) | |
unembed_sheet (self, sheet) | |
![]() | |
__repr__ (self) | |
__getitem__ (self, index) | |
__iter__ (self) | |
![]() | |
__len__ (self) | |
is_open (self) | |
is_active (self) | |
lt_range (self) | |
activate (self) | |
destroy (self) | |
duplicate (self) | |
![]() | |
__init__ (self, obj) | |
__del__ (self) | |
__str__ (self) | |
__bool__ (self) | |
index (self) | |
get_str (self, prop) | |
get_int (self, prop) | |
get_float (self, prop) | |
set_str (self, prop, value) | |
set_int (self, prop, value) | |
set_float (self, prop, value) | |
method_int (self, name, arg='') | |
method_float (self, name, arg='') | |
method_str (self, name, arg='') | |
lt_exec (self, labtalk) | |
name (self) | |
name (self, value) | |
lname (self) | |
lname (self, value) | |
comments (self) | |
comments (self, value) | |
show (self) | |
show (self, value) | |
usertree (self) | |
usertree (self, tr) | |
userprops (self) | |
Protected Member Functions | |
_sheet (self, obj) | |
![]() | |
_get_book_type (self) | |
_add_sheet (self, name, active) | |
Additional Inherited Members | |
![]() | |
obj | |
![]() | |
obj = obj | |
This class represents an Origin Workbook, it holds an instance of a PyOrigin WorksheetPage.
|
protected |
Reimplemented from originpro.base.DBook.
originpro.worksheet.WBook.add_sheet | ( | self, | |
name = '', | |||
active = True ) |
add a new worksheet to the workbook Parameters: name (str): the name of the new sheet. If not specified, default names will be used active (bool): Activate the newly added sheet or not
originpro.worksheet.WBook.unembed_sheet | ( | self, | |
sheet ) |
unembeds and activates embedded graph sheet if graph was embedded in worksheet by Add Graph as Sheet, this unembeds the page and deletes the worksheet. Parameters: sheet (int or str): sheet index, or sheet name Returns: (None) Example: book = op.find_book('w','Book1') book.unembed_sheet(1) #book.unembed_sheet('Graph1') #can also use using sheet name