Category:Application (OriginCOM)

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:54, 22 July 2009 (edit)
Christyfeng (Talk | contribs)

← Previous diff
Revision as of 08:15, 24 January 2013 (edit) (undo)
Echo (Talk | contribs)
(Method)
Next diff →
Line 3: Line 3:
==Method== ==Method==
-{| class="TableGrid" style="; border-spacing: 0px; border-spacing: 0px;" border = 1+{| class="simple" style="; border-spacing: 0px; border-spacing: 0px;" border = 1
!bgcolor=#EFEFEF width="2%"|Name !bgcolor=#EFEFEF width="2%"|Name
!bgcolor=#EFEFEF width="18%"|Brief !bgcolor=#EFEFEF width="18%"|Brief

Revision as of 08:15, 24 January 2013

Contents

Description

Launch a new Origin instance. A new instance will be launched even if another instance of Origin already exists.

Method

Name Brief Example
BeginSession The BeginSession method reserves the current Origin session for exclusive use. It has no meaning in the case of multi-instance Origin automation objects (Origin.Application,), in which case, any connection creates a separate Origin session. VBA
CopyPage The CopyPage method replaces the clipboard with an image of the specified graph or layer. VBA
CreatePage The CreatePage method creates an Origin page of the specified type, such as a worksheet page or graph page. VB, C#, Python
DestroyPage The DestroyPage method deletes an existing Origin page. VBA
EndSession
Execute The Execute method executes a LabTalk script in specified context. VBA, C#
Exit Exit Origin. VBA, C#
FindGraphLayer Find a graph layer by name. VB, C#
FindMatrixSheet Find a matrix sheet by name. VBA, C#
FindWorksheet Find a worksheet by name. VBA, C#
GetMatrix The GetMatrix method transfers data from specified Origin matrix. VBA, C#
GetWorksheet The GetWorksheet method transfers data from specified Origin worksheet. VBA, C#
Load The Load method opens specified Origin project (.OPJ). VBA, C#
NewDataRange
NewProject Close the current project and start a new one. VB, C#
PageGetValue
PageSetValue
Path Returns a string containing the requested Origin path. VBA, C#
PutMatrix Put two dimensional data into a specified Origin matrix. VBA, C#
PutWorksheet Put two dimensional data into a specified Origin worksheet starting at a specified column and row. VBA, C#, Python
Reset Empty all worksheets and fill all matrices with missing-value. VBA, C#
Run Allow Origin to finish current operations. This is useful after calling a method that triggers lengthy auto-update calculations. VBA, VB
Save Save the current Origin session to an Origin project (OPJ) file. VBA, C#
SetRangeEvent
SetRangeName


Property

Name Brief Example
ActiveFolder VB
ActiveNote
ActivePage
CanClose When Origin is connected to another application via COM, you can no longer close down Origin until the controlling application terminates. The CanClose property when set to true (default is false) will make Origin hidden when user click the x button to close Origin. So this properly is essentially Hide-On-Close. VB
EmptyTree
ExternalDialogPages
GraphPages
IsModified IsModified property sets or clears modified flag for currently open Origin project without saving it. VBA
LayoutPages
LTStr The LTStr property provides access to LabTalk string variables. VBA, C#
LTVar The LTVar property allows access to LabTalk floating point variables. VBA, C#
MatrixPages
Name
Notes
PageBases
Pages
PageString The PageString property allows access to Origin page textual properties or Origin Notes content. VBA
ProjectInfo
ReminderMsg
RootFolder VB
Tree
Visible The Visible property allows you to change the visible state of the Origin application window. The different states include hidden, shown, minimized, maximized, and bring to front. VBA, C#
WorksheetPages

Event

Name Brief Example
OnSelectionChange