Breadcrumbs

SetDisplayMode

Specifies how the document is to be displayed. In addition to the zoom factor (full screen, total window width, original size, percentage zoom factor or the default setting of the reader - according to the settings in Acrobat Reader), the page layout can be defined. You can select the page-by-page, continuous or multi-column view. By default, the display options are set to the entire window width with continuous display.

Syntax

  Func_FbMnFPDF_SetDisplayMode.bmp

C++
METHOD PUBLIC SetDisplayMode : BOOL
VAR_INPUT
    zoom : STRING;
    layout : STRING;
END_VAR

Parameters

Parameter

Description

zoom 

The zoom factor to be used in the display. The following character strings can be used:

  • fullpage: Display the entire page

  • fullwidth: Zoom factor taking into account the maximum width that can be displayed.

  • real: Real size (corresponds to 100%)

  • default: Uses the default setting of the viewer.


Alternatively, you can specify a number that determines the zoom factor. 

layout 

Determines the layout with which the document is displayed. Possible values for this are:

  • single: Displays the document page by page

  • continuous: Displays the pages continuously

  • two: Displays two pages side by side


Continuous is used as standard. 

Return value

Status of the call. 


Example



Requirements



Remarks