The heading can be positioned immediately before the PDF viewer.
Learn how to create accessible PDF documents with the WCAG 2.0 and PDF/UA standards. Therefore, ShowControls should be set to true to allow users to open the document in an external application. Not all accessibility features of PDF documents are supported because the PDF viewer is still in the experimental stage. ExampleĪdd a PDF viewer control, and set its Document property to the URL, enclosed in double quotation marks, of a PDF file as in this example:ĭon't know how to add and configure a control? Accessibility guidelines Zoom – The percentage by which an image from a camera is magnified or the view of a file in a PDF viewer. Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container). X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container). Width – The distance between a control's left and right edges. Visible – Whether a control appears or is hidden. Tooltip – Explanatory text that appears when the user hovers over a control. ShowControls – Whether an audio or video player shows, for example, a play button and a volume slider, and a pen control shows, for example, icons for drawing, erasing, and clearing. PressedBorderColor – The color of a control's border when the user taps or clicks that control. PageCount – The number of pages in a document. Page – The number of the page that you want to show. PaddingTop – The distance between text in a control and the top edge of that control. PaddingRight – The distance between text in a control and the right edge of that control. PaddingLeft – The distance between text in a control and the left edge of that control. PaddingBottom – The distance between text in a control and the bottom edge of that control. OnStateChange – Actions to perform when the state of the control changes. OnSelect – Actions to perform when the user taps or clicks a control. HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control. Height – The distance between a control's top and bottom edges. Additional propertiesĪctualZoom – The actual zoom of the control, which may differ from the zoom requested with the Zoom property.īorderColor – The color of a control's border.īorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.īorderThickness – The thickness of a control's border.ĬurrentFindText – The current search term that is in use.ĬurrentPage – The number of the page in a PDF file that is actually being shown.ĭisplayMode – Whether the control allows user input ( Edit), only displays data ( View), or is disabled ( Disabled).ĭisabledBorderColor – The color of a control's border if the control's DisplayMode property is set to Disabled.įill – The background color of a control.įindNext – Finds the next instance of FindText in the document.įindPrevious – Finds the previous instance of FindText in the document.įindText – The search term to look for in the document. Key propertiesĭocument – The URL, enclosed in double-quotation marks, of a PDF file. This option is also available in the control menu for all external documents. To resolve this issue, the server that hosts PDF documents must permit cross-origin requests from .Īpp users can work around these limitations by opening PDF documents in an external browser, as prompted if the control can't open a document. You may not be able to view a PDF document in your app if the document resides on a server that has restrictive cross-origin resource sharing (CORS) settings. The server that hosts the document must not require authentication. Server redirects or HTML views of the document aren't supported. The Document property must link directly to the PDF file. The security architecture of Power Apps requires the PDF Viewer to support only HTTPS links, not HTTP. Show text, graphics, and other content in a PDF file by adding this type of control and setting its Document property to the URL, enclosed in double quotation marks, of the file that you want to show. An experimental control that shows the content of a PDF file.