Below are the list of public APIs available in PdfViewer PowerApps code component.
If enableDarkMode set to true, then it will enable the dark mode for the PdfViewer code component.
Defines the path of the document to be loaded in the PdfViewer code component.
Defaults to "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
If enableToolbar set to true, then it will enable the toolbar for the PdfViewer code component.
Defaults to true
If enableNavigationToolbar set to true, then it will enable the navigation toolbar for the PdfViewer code component.
Defaults to true
If enableBookmark set to true, then it will enable the bookmark for the PdfViewer code component.
Defaults to true
If enableDownload set to true, then it will enable the download for the PdfViewer code component.
Defaults to true
If enablePrint set to true, then it will enable the print for the PdfViewer code component.
Defaults to true
If enableTextSearch set to true, then it will enable the text search for the PdfViewer code component.
Defaults to true
If enableTextSelection set to true, then it will enable the text selection for the PdfViewer code component.
Defaults to true
If enableMagnification set to true, then it will enable the magnification for the PdfViewer code component.
Defaults to true
If enableNavigation set to true, then it will enable the navigation for the PdfViewer code component.
Defaults to true
If OpenThumbnailPane set to true, then it will open the thumbnail pane of the PdfViewer code component.
Defaults to false
Defines the interaction mode for the PdfViewer code component. Possible values are pan, text selection.
Defaults to pan
Defines the event name for the PdfViewer code component. It specifies the event of the PdfViewer. Possible values are onError.
Outputs error message when onError is triggered. Use below PowerFx code in onChange property to notify the error message.
If(
Self.EventName="onError",
Notify(Self.OnError, NotificationType.Error)
)