8.1.18.2 NotePage::SetText

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.


Description

Set text in NotePage

Syntax

SetText(Text)

Parameters

Text
Text string

Return

None

Examples

EX1

# Open a Notes in project
import PyOrigin
Notes=PyOrigin.ActiveNotePage()
Notes.SetText('This example shows how to set text for Notes by using PyOrigin')
NoteText=Notes.GetText()
print(NoteText)

See Also

NotePage::GetText