 The PDF Viewer showing a schematic
in a maintenance manual
The PDF Viewer component displays a PDF that exists as a file in some accessible filesystem, or as a URL. Note that this component is simply for viewing existing PDFs. To create dynamic reports, use the Report Viewer component.
This component is typically used in conjunction with the File Explorer component, in order to create a PDF viewing window. See the File Explorer's documentation for instructions on how to put these two components together.
Warning. This component is not as high-quality as Adobe Reader. This component can only be guaranteed to correctly display reports generated by the Report Viewer. In practice, it is able to view many PDFs, but it does have trouble with some, especially PDFs created by AutoCAD. If this is a problem, use the free ActiveX module to embed an Adobe Reader control within your window. Of course, this will make your clients Windows-only.
Appearance
|
Font
|
Font of text of this component
|
Foreground Color
|
The foreground color of the component.
|
Background Color
|
The background color of the component.
|
Zoom Factor
|
Sets the zoom factor for the report viewer
|
|
zoomFactor
|
|
|
float
|
|
|
bindable
|
|
Behavior
|
Print Mode
|
Sets the printing mode. Vector is fast and high-quality for printers that support it, but Raster mode can help the spool size with older printers.
|
Raster DPI
|
If the mode is raster, this is the DPI that will be used.
|
Common
|
Name
|
The name of this component.
|
Enabled
|
If disabled, a component cannot be used.
|
Visible
|
If disabled, the component will be hidden.
|
Border
|
The border surrounding this component. NOTE that the border is unaffected by rotation.
|
Mouseover Text
|
The text that is displayed in the tooltip which pops up on mouseover of this component.
|
Opaque
|
If false, backgrounds are not drawn. If true, backgrounds are drawn.
|
Data
|
Filename
|
The filename (or URL) of the PDF to view.
|
The following event sets are fired by this component. See Component Event Handlers to learn more.
This component has no special scripting functions.
|