PDF JS Viewer
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package '') Extends designtime/SolutionModel: Extends runtime:
pdfJsViewer provides more control and customization options than pdfViewer. It is more flexible and can handle advanced features like drawing and digital signatures. If customization is not required, consider using pdfViewer.
This is a reference page; many components have detailed usage guides .
Bound data provider identifier for the PDF document. Type:
URL of the document to be displayed. Type:
Flag indicating whether tooltips are enabled in the PDF viewer. Type: Default Value: false
When true, prevents caching of the PDF document. Type:
Fired when the page in the PDF viewer changes.
Parameters:
Returns an array of strings representing the field names.
Returns a map containing the field values.
Returns an array of strings representing the toolbar control IDs.
This should not be used at runtime because it can only be called when the view is visible. It is intended for developers to get the names that the current pdfjs viewer internal component supports, which can then be used in the solution.
forces a reload of the current url
Sets the visibility of the field controls.
Parameters:
Sets the field values.
Parameters:
Sets the visibility of the toolbar controls.
Parameters:
The current page number displayed in the viewer. Type:
Flag indicating whether the toolbar is displayed. Type: Default Value: true
CSS style classes applied to the PDF viewer component. Type:
Media or style sheet applied to the PDF viewer. Type:
Tab sequence order for keyboard navigation. Type:
Flag indicating whether the PDF viewer is visible. Type:
The zoom level for displaying the PDF document. Type:
{} pageNumber The page number of the new page that is displayed.
{} previousPageNumber The page number of the page that was previously displayed.
Returns: An array of field names.
Returns: A map of field values.
Returns: An array of toolbar control IDs.
{} names - An array of field control names.
{} visible - A boolean indicating the visibility of the field controls.
{} values - A map containing the field values to be set.
{} ids - An array of toolbar control IDs.
{} visible - A boolean indicating the visibility of the toolbar controls.