8.1.26.2 Worksheet::Copy
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. |
Contents
Description
Copy a block of data from the Worksheet on to the clipboard.
Syntax
Copy(R1 = 0, C1 = 0, R2 = -1, C2 = -1, FullPrecision = True)
Parameters
- R1
- the index of the row for begin
- C1
- the index of the column for begin
- R2
- the index of the row for end
- C2
- the index of the column for end
- FullPrecession
- Whether to force copy full precision.
Return
Returns True on successful and False on failure.
Examples
#Create Book1 import PyOrigin Sheet=PyOrigin.WorksheetPages('Book1').Layers(0) #copy the data in first sheet into clipboard Sheet.Copy(0, 0, -1, -1, True)