Navigation:  Interfaces (Technical API Reference) > Document Properties (page size, labels) > IWPPageSize > Methods >

SetProp Method

Previous pageReturn to chapter overviewNext page

Applies to

IWPPageSize

Declaration

procedure SetProp(Id: Integer; Value: Integer);

Description

Use ID=1 to set a bitfield which tells the editor which properties are controlled (selected) by this section object.

1 : PageSize (Landscape, PageWidth and PageHeight),

2 : Margins

4 : Tab Default

8: Page Mirror

16: Page Numbering Mode (reserved)

32: Select Header and footer

64: Reset numbers of Outline

128: Reset Page number

 

Note: The bits 1-4 are automatically set when the respective property is changed!