PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview of PDF Reader control
  • Creating a PDF Reader control
  • Characteristics of PDF Reader control
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of PDF Reader control
The "PDF Reader" control is an evolved control allowing the end user to view a PDF document in his WINDEV application, without having to use an external software. No need to start an external reader. You definitely know what the end user will see, as well as all the other users! The support to users is simplified.
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,
  • Print PDF files, ...
The ribbon associated with this control is used to perform the most common operations. See PDF Reader control: using the ribbon for more details.
Several keyboard shortcuts are also available:
ShortcutEffectShortcutEffect
Ctrl + ASelects the entire content of PDF fileCtrl + CCopies the selection into the clipboard.
Ctrl + FPerforms a search in the PDF file. Ctrl + 0Opens a PDF file.
Ctrl + PPrints the current PDF file.
Ctrl + mouse wheelChanges the zoom.Ctrl + 0Zoom the document at 100%
Ctrl + homeMoves up to the start of document.Ctrl + EndDisplays the end of document.
Page UpDisplays the previous page.Page downDisplays the next page.
Creating a PDF Reader control
To create a PDF Reader control:
  1. On the "Creation" pane, in the "Graphic controls" group, expand "Office" and select "PDF reader".
  2. Click the position where the control will be created in the window.
Versions 20 and later
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the default control size will be restored.
New in version 20
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the default control size will be restored.
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the default control size will be restored.
To display the control characteristics, select "Description" from the popup menu of control.
Characteristics of PDF Reader control
The description window of the PDF Reader control offers the following options:
Description window
  • Initial document: Specifies the initial document displayed in the PDF Reader control ("General" tab).
  • With ribbon: Specifies whether the ribbon will be displayed or not ("General" tab). If the ribbon is displayed:
    • the "IW source of ribbon" area allows you to:
      • use the ribbon proposed by default. In this case, the "IW source of ribbon" area corresponds to "None".
      • customize the ribbon proposed by default.
        Simply select the default preset window in the "IW source of ribbon" area. In this case, the "IW_WinDevAAF_DocumentReaderBar" window is automatically included in your project. This internal window (available in English and in French) can be modified according to your needs. This window contains the code required to manage the PDF Reader control. We advise you to check the GUI errors as well as the operating mode of window after any modification.
      • use an internal window to propose a specific ribbon.
        Any internal window of your project can be used to create this bar.
    • the "Apply the skin template of project to the ribbon" option allows you to apply the project template to the internal window that corresponds to the ribbon and to all the windows opened by the ribbon.
  • "Allow the change of document (Open, ...)" allows you to propose (or not) the buttons in the ribbon for opening a new document. If this option is not checked, the end user will only be able to handle the PDF file defined by the application. Otherwise, the end user can handle any PDF file.
  • Display the thumbnail pane: Allows you to specify whether the pane of thumbnails will be displayed by default in the PDF Reader control.
  • Allow the change of document (Open, Dnd, ... ): This option allows you to propose (or not) the buttons in the ribbon for opening a new document. If this option is not checked, the end user will only be able to handle the PDF file defined by the application. Otherwise, the end user can handle any PDF file.
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.
Related Examples:
The PDF Reader control Unit examples (WINDEV): The PDF Reader control
[ + ] Using a PDF Reader control
Minimum version required
  • Version 23
Comments
video pdf
https://youtu.be/QZvVIAyYIhI
amarildo
21 Jul. 2018
Leitor Pdf
Leitor Pdf

https://youtu.be/mf3LDw77eVY

https://groups.google.com/d/forum/amarildowindev
De matos
18 May 2018