PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview of PDF Reader control
  • Creating a PDF Reader control
  • Characteristics of the PDF Reader control
  • Popup menu
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview of PDF Reader control
The "PDF Reader" control is an advanced control that allows end users to view PDF documents in their applications, without an external software. No need to start an external reader. You know what all end user will see, which makes user support much simpler.
Versions 25 and later
Android The PDF Reader control is now available for Android applications.
iPhone/iPad The PDF Reader control is now available for iPhone/iPad applications.
New in version 25
Android The PDF Reader control is now available for Android applications.
iPhone/iPad The PDF Reader control is now available for iPhone/iPad applications.
Android The PDF Reader control is now available for Android applications.
iPhone/iPad The PDF Reader control is now available for iPhone/iPad applications.
The PDF Reader control can be included in a window of your application (like any other control), or the PDF reader can be opened in a new window (like any standard reader).
This control allows you to:
  • Open PDF files,
  • Find text in PDF files,
Creating a PDF Reader control
To create a PDF Reader control:
  1. Select the control to create from the ribbon:
    • Versions 25 and later
      AndroidiPhone/iPad On the "Creation", in the "Graphic controls" group, expand "PDF Reader" and select "PDF Reader control".
      New in version 25
      AndroidiPhone/iPad On the "Creation", in the "Graphic controls" group, expand "PDF Reader" and select "PDF Reader control".
      AndroidiPhone/iPad On the "Creation", in the "Graphic controls" group, expand "PDF Reader" and select "PDF Reader control".
  2. Click at the desired location to create the control.
Versions 20 and later
Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default.
New in version 20
Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default.
Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default.
To view the characteristics of the control, select "Description" in the context menu.
Versions 25 and later
AndroidiPhone/iPad Preset window: On Android and/or iOS, the PDF Reader control can only be used to display PDF files. There are no buttons or default options to edit the PDF file displayed in the control.
WINDEV Mobile also allows you to integrate a preset "PDF Reader" window into your application. This window contains:
  • a PDF Reader control,
  • an Action Bar control containing options for searching and browsing through the PDF Reader control.
This windows expects the path of the PDF file as parameter.
This window can be modified at your convenience.
To integrate this window into your project, go to the "Creation" tab, "Graphic controls" group, expand "PDF Reader" and click "PDF Reader window"
New in version 25
AndroidiPhone/iPad Preset window: On Android and/or iOS, the PDF Reader control can only be used to display PDF files. There are no buttons or default options to edit the PDF file displayed in the control.
WINDEV Mobile also allows you to integrate a preset "PDF Reader" window into your application. This window contains:
  • a PDF Reader control,
  • an Action Bar control containing options for searching and browsing through the PDF Reader control.
This windows expects the path of the PDF file as parameter.
This window can be modified at your convenience.
To integrate this window into your project, go to the "Creation" tab, "Graphic controls" group, expand "PDF Reader" and click "PDF Reader window"
AndroidiPhone/iPad Preset window: On Android and/or iOS, the PDF Reader control can only be used to display PDF files. There are no buttons or default options to edit the PDF file displayed in the control.
WINDEV Mobile also allows you to integrate a preset "PDF Reader" window into your application. This window contains:
  • a PDF Reader control,
  • an Action Bar control containing options for searching and browsing through the PDF Reader control.
This windows expects the path of the PDF file as parameter.
This window can be modified at your convenience.
To integrate this window into your project, go to the "Creation" tab, "Graphic controls" group, expand "PDF Reader" and click "PDF Reader window"
Characteristics of the PDF Reader control
The following options are available in the description window of the PDF Reader control:
WINDEV description window
  • Initial document: Specifies the initial document displayed in the PDF Reader control ("General" tab).
Popup menu
By default, the PDF Reader control includes several options in the associated the popup menu. To disable this popup menu, use the PopupMenu property with the PopupMenuDisabled constant.
Limitations
  • The following features are not supported by the PDF Reader control:
    • Signatures,
    • Bookmarks,
    • Edit controls,
    • Radio button and check boxes,
    • PDF/A.
    • Interactions via JavaScript (for example, a link hidden in an image, etc.).
  • The PDF Reader control is not available in Windows XP.
  • AndroidiPhone/iPad The PDF Reader control does not support password-protected PDF files. A toast message indicates to the user that the file is password-protected.
Related Examples:
The PDF Reader control Unit examples (WINDEV): The PDF Reader control
[ + ] Using a PDF Reader control
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment