PowerApps 中的 PDF 檢視器控制項PDF viewer control in PowerApps

可顯示 PDF 檔案內容的控制項。A control that shows the content of a PDF file.

說明Description

顯示 PDF 檔案中的文字、圖形和其他內容,加入這種類型的控制項,並將其 Document 屬性設定為要顯示之檔案的 URL (括在雙引號內)。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.

主要屬性Key properties

Document – PDF 檔案的 URL (括在雙引號內)。Document – The URL, enclosed in double-quotation marks, of a PDF file.

其他屬性Additional properties

ActualZoom – 控制項的實際縮放,可能會因 Zoom 屬性的要求而有所不同。ActualZoom – The actual zoom of the control, which may differ from the zoom requested with the Zoom property.

BorderColor – 控制項框線的色彩。BorderColor – The color of a control's border.

BorderStyle – 決定控制項的框線為實線虛線點線BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.

BorderThickness – 控制項框線的粗細。BorderThickness – The thickness of a control's border.

CurrentFindText – 目前使用中的搜尋字詞。CurrentFindText – The current search term that is in use.

CurrentPage – PDF 檔案中實際顯示之頁面的編號。CurrentPage – The number of the page in a PDF file that is actually being shown.

DisplayMode – 控制項允許使用者輸入 (編輯)、只顯示資料 (檢視) 或者已停用 (停用)。DisplayMode – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).

DisabledBorderColor – 控制項的 DisplayMode 屬性設為 Disabled 時,該控制項所呈現的框線色彩。DisabledBorderColor – The color of a control's border if the control's DisplayMode property is set to Disabled.

Fill – 控制項的背景色彩。Fill – The background color of a control.

FindNext – 尋找文件中的下一個 FindText 執行個體。FindNext – Finds the next instance of FindText in the document.

FindPrevious – 尋找文件中的上一個 FindText 執行個體。FindPrevious – Finds the previous instance of FindText in the document.

FindText – 尋找文件中的搜尋字詞。FindText – The search term to look for in the document.

Height – 控制項的頂端和底部邊緣之間的距離。Height – The distance between a control's top and bottom edges.

HoverBorderColor – 使用者將滑鼠指標停留在控制項上時,該控制項所呈現的框線色彩。HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control.

OnSelect – 在使用者點選或按一下控制項時,應用程式的回應方式。OnSelect – How the app responds when the user taps or clicks a control.

OnStateChange – 當控制項的狀態變更時,應用程式如何回應。OnStateChange – How an app responds when the state of the control changes.

PaddingBottom – 控制項中文字與該控制項下邊緣之間的距離。PaddingBottom – The distance between text in a control and the bottom edge of that control.

PaddingLeft – 控制項中文字與該控制項左邊緣之間的距離。PaddingLeft – The distance between text in a control and the left edge of that control.

PaddingRight – 控制項中文字與該控制項右邊緣之間的距離。PaddingRight – The distance between text in a control and the right edge of that control.

PaddingTop – 控制項中文字與該控制項上邊緣之間的距離。PaddingTop – The distance between text in a control and the top edge of that control.

Page – 您想要顯示的頁面編號。Page – The number of the page that you want to show.

PageCount – 一份文件的頁數。PageCount – The number of pages in a document.

PressedBorderColor – 使用者點選或按一下控制項時,該控制項所呈現的框線色彩。PressedBorderColor – The color of a control's border when the user taps or clicks that control.

ShowControls – 是否顯示音訊或視訊播放程式,例如,播放按鈕和音量滑桿;以及手寫筆控制項顯示,例如,繪圖、消除及清除的圖示。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.

Tooltip – 使用者將滑鼠指標停留在控制項上方時所顯示的說明文字。Tooltip – Explanatory text that appears when the user hovers over a control.

Visible – 控制項顯示或隱藏。Visible – Whether a control appears or is hidden.

Width – 控制項左邊緣與右邊緣之間的距離。Width – The distance between a control's left and right edges.

X – 控制項左邊緣與其父容器 (沒有父容器時則為螢幕) 左邊緣之間的距離。X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).

Y – 控制項上邊緣與其父容器 (沒有父容器時則為螢幕) 上邊緣之間的距離。Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).

Zoom – 相機中影像的放大百分比,或 PDF 檢視器中檔案的檢視百分比。Zoom – The percentage by which an image from a camera is magnified or the view of a file in a PDF viewer.

範例Example