Category:ApplicationSI (OriginCOM)

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:02, 15 December 2008 (edit)
Eparent (Talk | contribs)
(Method)
← Previous diff
Revision as of 15:22, 16 December 2008 (edit) (undo)
Uploader (Talk | contribs)

Next diff →
Line 1: Line 1:
 +
==Description== ==Description==
Line 99: Line 100:
|- |-
| [[OriginCOM:Application-PutMatrix|PutMatrix]] | [[OriginCOM:Application-PutMatrix|PutMatrix]]
-| The PutMatrix method transfers two dimensional data to a specified Origin matrix.+| The PutMatrix method transfers two dimensional data to specified Origin matrix.
| align="center"| [[OriginCOM:Application-PutMatrix#Examples|Examples]] | align="center"| [[OriginCOM:Application-PutMatrix#Examples|Examples]]
Line 146: Line 147:
|- |-
-| [[OriginCOM:Application-CanClose|CanClose]]+| [[OriginCOM:Application-ActiveNote|ActiveNote]]
| |
 +|
 +
 +|-
 +| [[OriginCOM:Application-ActivePage|ActivePage]]
 +|
 +|
 +
 +|-
 +| [[OriginCOM:Application-CanClose|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.
| |

Revision as of 15:22, 16 December 2008

Contents

Description

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. Examples
CopyPage The CopyPage method replaces the clipboard with an image of the specified graph or layer. Examples
CreatePage The CreatePage method creates an Origin page of the specified type, such as a worksheet page or graph page. Examples
DestroyPage The DestroyPage method deletes an existing Origin page. Examples
EndSession
Execute The Execute method executes a LabTalk script in specified context. Examples
Exit Exit Origin. Examples
FindGraphLayer
FindMatrixSheet Find a matrix sheet by name. Examples
FindWorksheet Find a worksheet by name. Examples
GetMatrix The GetMatrix method transfers data from specified Origin matrix. Examples
GetWorksheet The GetWorksheet method transfers data from specified Origin worksheet. Examples
Load The Load method opens specified Origin project (.OPJ). Examples
NewDataRange
NewProject
PageGetValue
PageSetValue
Path The path method returns a string containing the path requested in the type parameter. Examples
PutMatrix The PutMatrix method transfers two dimensional data to specified Origin matrix. Examples
PutWorksheet The PutWorksheet method transfers two dimensional data to the specified Origin worksheet. Data can be placed starting at specified row and column location, or can be appended beneath the last existing row of the worksheet. Examples
Reset The Reset method clears all worksheets and matrices in current Origin session. Examples
Run The Run method allows Origin session to finish current operations. It can be used after calling method that triggers lengthy auto-update calculations in Origin. Examples
Save The Save method saves specified Origin project (.OPJ). Examples
SetRangeEvent
SetRangeName


Property

Name Brief Example
ActiveFolder Examples
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.
EmptyTree
ExternalDialogPages
GraphPages
IsModified IsModified property sets or clears modified flag for currently open Origin project without saving it. Examples
LayoutPages
LTStr The LTStr property provides access to LabTalk string variables. Examples
LTVar The LTVar property allows access to LabTalk floating point variables. Examples
MatrixPages
Name
Notes
PageBases
Pages
PageString The PageString property allows access to Origin page textual properties or Origin Notes content. Examples
ProjectInfo
ReminderMsg
RootFolder Examples
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. Examples
WorksheetPages


Event

Name Brief Example
OnSelectionChange