IWPPageSize Interface

[Top]  [Chapter]  [Previous]  [Next]

Interface to update Pagesize

Description

This interface is used to change the width and height of the page. All integer properties use twips. One twip is 1/1440 of an inch. If you work with centimeters, you can use this formula to convert centimeter into twips:

1 twip = 1 cm * 2.54 / 1440.

 

While mailing label print and preview is activated (see Memo.LabelDef) the page size defined using PageSize or in the OnMeasurePage is overridden.

 

The editor can be switched into the WordWrap mode - then the text is formatted to exactly fit into the window horizontally.

 

Tip: You can use the method Memo.TextCommand(4,N,0) to specify that a maximum of N characters should be printed in one line.

 

Properties


Methods

 


[idh_interface_iwppagesize.htm]    Copyright © 2007 by WPCubed GmbH