# Defined Pages

Navigation:  ScriptLine Properties >

# Defined Pages

Previous pageReturn to chapter overviewNext page

Read-only property of the ScriptLine : BookFormat.

 

The property "# Defined Pages" tells you the number of pages for which you have defined content. It is the total number of pages for all the ScriptLines you have defined. For example : 2 blank pages, 26 pages of plain QXDs, and a DiaryGrid for 52 pages.

 

As an additional convenience, the value of this property is also displayed, in the Scripts Editor, on the BookFormat ScriptLine.

 

       

 

If the value of this property is equal to that of the Signature Pages property, then that number is displayed alone (as shown above on the left). If the two values differ, then both are displayed with the number of defined pages appearing first (as shown above right).

 

This property is useful in conjunction with the Signature Pages property, which tells you the number of available pages physically available following the Signatures property layout. Q++ will generate a design-time error if there are too many defined pages as compared to the number of signature pages, and a warning if there are too few pages.

 

Note that when ScriptLines have a Force Start property set to a value different than "none", this can cause the insertion of additional blank pages which may make the "# Defined Pages" count inexact. This can only be checked when running a script, and at that point Q++ will issue a run-time warning. This type of occurrence should be a signal that there are ambiguities in the overall layout of your diary.


Topic 21000 updated on 12-May-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?_definedpages.htm