Macro Language Reference > PIs > Text > <?propget>
  
<?propget>
Description
Text properties display details of how current text is formatted: paragraph properties such as margins, rules and text properties such as font, height etc. In general, at any one point in the text, PTC ALD has a record of the global default values of any properties, the default values for the current paragraph and the current actual properties. It takes a snapshot of the text at each point and stores the properties in a stack. It is also possible to take your own snapshots of the current set of properties via <?propget> and <?propput>. You can return to, and reuse, those properties at a later date.
Syntax
<?propget num:n?>
<?propget>
num
0
Sets the current text properties to the system defaults
1
Default value: restores the current text properties to the default for the paragraph. This will use the value specified by<?propput 1> if specified.
2
Current paragraph defaults: permits you to recall the text properties as they were at the start of the current paragraph.
3,4,5,6,7
Spare slots: These are available so that you can store the current text properties into particular slots and restore them when you need them. These slots are independent from the stack and so do not interfere with them, or any use of the <?up> and <?down> commands.
Additional Information
<?propput> and <?propget> work in a similar way to the <?up> and <?down> commands, but instead of adding and removing property snapshots from a stack, they permit you to store and restore the snapshots to specific slots.
Related Links