Tutorial

Getting Started with Macros

Macro Editor

User Interface

Menus and Toolbar

Editing Macro Statements

Expression Editor

Macro Debugging

How To

Using variables

Finding and modifying objects

Creating new page content

Asking for user input

Storing persistent data

Using binary data

Sorting objects

Macro menus

Bulleted and numbered lists

Sample Macros

Concepts

Expressions

Objects

Properties

Variables

Data Types

Arrays

Functions

Literals

Operators

Comments

Last updated on: March 19, 2023
Also available as a single HTML file

Onetastic Macro Documentation > Page Objects > Outline

Outline Object

Description

Represents a note container (outline) in a OneNote page.

Hierarchical Structure

Outline objects can be found under following objects: Page

Outline objects can contain following objects: Paragraph

Creating Outline Objects

Outline objects can be inserted directly under following objects: Page

Properties

Name Type Access Description
author String read-write The original author of this Outline.
authorInitials String read-write The initials of the original author of this Outline.
creationTime DateTime read-write The date and time this Outline is originally created.
height Numeric read-write The height of this Outline in points.
lastModifiedBy String read-write The person who last modified this Outline.
lastModifiedByInitials String read-write The initials of the person who last modified this Outline.
lastModifiedTime DateTime read-write The date and time of last modification on this Outline.
objectId String read-write The unique identifier of this Outline.
paragraphs Array<Paragraph> read-only The list of Paragraphs in this Outline.
selection Selection read-write Whether this Outline is fully or partially selected or not.
sizeSetByUser Bool read-write Whether the dimensions of this Outline is manually set by the user (by dragging a handle on the object). Objects whose dimensions are set by the user will retain that size regardless of the size of their containers.
text String read-write The text of this Outline.
type ObjectType read-only Type of this object. Always has the value of "Outline".
width Numeric read-write The width of this Outline in points.
x Numeric read-write The horizontal position of this Outline on the page in points.
y Numeric read-write The vertical position of this Outline on the page in points.
z Numeric read-write The z-order of this Outline on the page. Objects with higher z-order will show up in front of objects with lower z-orders.

Reference

Statements

For

ForEach

If

Else If

Else

Switch

Case

Default

While

Expression

Comment

Break

Continue

Return

Hierarchy Objects

NotebookRoot

Notebook

SectionGroup

Section

Page

Page Objects

Title

Outline

Table

Column

Row

Cell

Paragraph

Text

Image

EmbeddedFile

Tag

Other Objects

DialogBox

MacroMenu

Window

Functions

Array Functions

Color Functions

Data Store Functions

Date/Time Functions

Dialog Box Functions

Macro Execution Functions

Macro Menu Functions

Object Functions

String Functions

Window Functions