Skip to content

Commit 2152690

Browse files
committed
PDF Viewer demos updated
1 parent 6aa9107 commit 2152690

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

BlazorBootstrap.Demo.RCL/Components/Pages/PdfViewer/PdfViewerDocumentation.razor

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,17 @@
3636
</Section>
3737

3838
<Section Size="HeadingSize.H2" Name="Password protected" PageUrl="@pageUrl" Link="password-protected">
39+
<div class="mb-3">
40+
To open a password-protected PDF document, set the <code>Password</code> parameter to the required password.
41+
</div>
3942
<Demo Type="typeof(PdfViewer_Demo_05_Password_Protected_A)" Tabs="true" />
4043
</Section>
4144

4245
<Section Size="HeadingSize.H2" Name="Prompt for password" PageUrl="@pageUrl" Link="prompt-for-password">
46+
<div class="mb-3">
47+
If the <code>Password</code> parameter is not set and the PDF document is password-protected, the PDF Viewer component will prompt the user to enter the password.
48+
In the following example, the PDF Viewer prompts the user to enter the password for the protected PDF document. Enter <b>12345</b> as the password to view the document.
49+
</div>
4350
<Demo Type="typeof(PdfViewer_Demo_05_Password_Protected_B_Prompt_For_Password)" Tabs="true" />
4451
</Section>
4552

0 commit comments

Comments
 (0)