# 1.13.3 Notes Window

The first example shows how to work with the text of a Note window using the Text property. The Text property is a string class type which allows you to use all the string capabilities of strings.

Note note;
note.Create(); // Create the target Note window
if( note )
{
note.Text = "Hello Note window.";
note.Text += "\nAnother line of text."
}

The next example will use Type.Redirection and Type.Notes$to redirect Origin C output to a Note window. Note note; note.Create(); // Create the target Note window LT_set_str("type.notes$", note.GetName());
LT_set_var("type.redirection", 2); // 2 for Note window

out_str("Hello Notes Window");