SetLayoutMode method

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

Applies to

WPDLLInt

Declaration

procedure SetLayoutMode(LayoutMode: TxWPLayoutMode; AutoZoom: TxWPAutoZoom; ZoomValue: Integer);

Description

This method selects the layoutmode and zooming used by editor #1. Alternatively use properties Memo.Layoutmode, AutoZoom and Zooming.

 

Parameters

Layout

0 = Normal

1 = Word wrap - format to window margins

2 = Show Manual Page Breaks

3 = Page Gap = like "Normal" but show gray area between pages

4 = Extended PageGap = also show left+right margins

5 = Shrunken Layout = hide header + footer area

6 = Layout = full page but no header/footer

7 = Full Layout = full page + header/footer

8 = Dual PageView = 2 * full page

9 = ThumbNail View

AutoZoom

0=Off

1=Page Width

2=Full Page

3=AdjustColumnCount

4=Show as many pages as possible in one row.

Zooming

Only with AutoZoom=Off - set zooming in percent.

 


[idh_wpdllint_setlayoutmode.htm]    Copyright © 2007 by WPCubed GmbH