PDF Viewer

It allows to view, print, search and copy text from PDF documents. This Wem-embedded widget performs all these functions.

Properties of PDF Viewer

Property Name

Data type

Type

Description

Type of input

Text

Dropdown

To select the type of file. (File field, library field, URL to file).

File field

File

Expression

To set the file in the field.

Library file

File

PDF

To set the library file in the field.

URL to file

Text

Expression

To set URL into the file.

Initial zoom

Number

Expression

Set the initial zoom for the pdf viewer.

Border width

Number

Expression

Set border width for the pdf viewer.

Height

Number

Expression

Set the height of the PDF Viewer canvas in number of pixels. Leave empty for 100% width.

Width

Number

Expression

Set the width of the PDF Viewer canvas in number of pixels. Default is 400px.

Last updated