Sfairadora

  • Reference Guide

page

The page definition for printing. The version of this structure used in the system document does not contain the item inherited with the attributes, just the item value.
Type
Name
Description
Inherited value of the type Int
paper_width
The page width in twips (twentieths of inch).
Inherited value of the type Int
paper_height
The page height in twips (twentieths of inch).
Inherited value of the type Int
paper_size
One of the predefined paper sizes. (The values correspond to the DMPAPER_… constants defined in the file wingdi.h – e.g. DMPAPER_A4 – see msdn.microsoft.com).
Changing this value changes the attributes paper_width and paper_height automatically. Conversely, changing these two attributes is reflected in this value.
The inheritance of these three attributes is synchronous – a change in the inheritance is reflected in the others.
(see below)
margin
The page margins.
Inherited value of the type Bool
facing_pages
If set TRUE, left and right pages are distinguished.
Inherited value of the type Int
gutter
The value is added to the margin at the binding.
Inherited value of the type Bool
margin_mirror
If set TRUE, the left and right margins are swapped on even pages.
Inherited value of the type Bool
landscape
If set TRUE, the page orientation is landscape rather than portrait.
Inherited value of the type Int
page_num_start
The numbering of the first page.
Inherited value of the type Bool
widow_control
Global setting of the widow and orphan control.

margin

Type
Name
Description
Inherited value of the type Int
left
The width of the left margin in twips (twentieths of point).
Inherited value of the type Int
top
The width of the top margin in twips (twentieths of point).
Inherited value of the type Int
right
The width of the right margin in twips (twentieths of point).
Inherited value of the type Int
bottom
The width of the bottom margin in twips (twentieths of point).