The PageString property allows access to Origin page textual properties or Origin Notes content.
VB: Property Get/Let PageString(Name As ByVal String, [ LTString As ByVal Object ] ) As String
C++: LPCSTR PageString(LPCSTR Name, _variant_t LTString )
C#: string PageString(string Name, var LTString )
This was implemented before Origin 8 introduced more extensive object oriented support.
'Assumes Data1 exist Dim oApp As Origin.ApplicationSI Set oApp = GetObject("", "Origin.ApplicationSI") oApp.PageString("Data1", "Page.label$") = "text"
import OriginExt as O app = O.Application(); app.Visible = app.MAINWND_SHOW pageName = app.CreatePage(app.OPT_WORKSHEET) app.PutPageString(pageName, "testPageStr$", "testPageValue") print(app.GetPageString(pageName, "testPageStr$"))
8.0SR2
LTStr