Kbase P17171: How to use Adobe PDF Reader ActiveX control
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/21/2008 |
|
Status: Verified
GOAL:
How to use Adobe PDF Reader ActiveX control
GOAL:
How to use the "Acrobat Control for ActiveX" OCX: sample code.
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
FIX:
Opening a PDF document with the "Acrobat Control for ActiveX" or "Adobe PDF Reader" OCX requires adding the control to a window or dialog widget and setting the SRC property to the location of the file:
chCtrlFrame:AcroPdf:src = ("Path/file.pdf") .
Older versions of Adobe use a different object name. Replace AcroPdf with Pdf, as follows:
chCtrlFrame:Pdf:src = ("Path/file.pdf") .
For more information, open the control in the Progress COM Object Viewer (available via PRO*Tools) or consult Adobe documentation.