Function TWPRTFSectionProps.SetPageWHPix(Width:Integer; Height:Integer; margl:Integer; margr:Integer; margt:Integer; margb:Integer; ToleranceTW:Integer) : WordBool

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFSectionProps

Parameters

  • Width:Integer
  • Height:Integer
  • margl:Integer
  • margr:Integer
  • margt:Integer
  • margb:Integer
  • ToleranceTW:Integer

Returns

The type of the result value is WordBool.

Description

This method can be used to set all elements of the page layout at once - using screen pixels values