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

SetPageWH Method

Previous pageReturn to chapter overviewNext page

Applies to

IWPPageSize

Declaration

function SetPageWH(WidthTW: Integer; HeightTW: Integer; MargL: Integer; MargR: Integer; MargT: Integer; MargB: Integer): Boolean;

Description

This method can be used to set width, height and margins in one line of code. For properties which should not be updated pass -1.