File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 6363 <PackageReference Include =" BootstrapBlazor.OfficeViewer" Version =" 10.0.0" />
6464 <PackageReference Include =" BootstrapBlazor.OnScreenKeyboard" Version =" 10.0.0" />
6565 <PackageReference Include =" BootstrapBlazor.OpcDa" Version =" 10.0.0" />
66- <PackageReference Include =" BootstrapBlazor.PdfReader" Version =" 10.0.23 " />
66+ <PackageReference Include =" BootstrapBlazor.PdfReader" Version =" 10.0.24 " />
6767 <PackageReference Include =" BootstrapBlazor.PdfViewer" Version =" 10.0.0" />
6868 <PackageReference Include =" BootstrapBlazor.Player" Version =" 10.0.1" />
6969 <PackageReference Include =" BootstrapBlazor.RDKit" Version =" 10.0.0" />
Original file line number Diff line number Diff line change 2020 <Switch @bind-Value =" _showToolbar" ></Switch >
2121 </BootstrapInputGroup >
2222 </div >
23+ <div class =" col-12 col-sm-6" >
24+ <BootstrapInputGroup >
25+ <BootstrapInputGroupLabel >ShowFileName</BootstrapInputGroupLabel >
26+ <Switch @bind-Value =" _showFileName" ></Switch >
27+ </BootstrapInputGroup >
28+ </div >
2329 <div class =" col-12 col-sm-6" >
2430 <BootstrapInputGroup >
2531 <BootstrapInputGroupLabel >ShowDownload</BootstrapInputGroupLabel >
5359 </section >
5460 <PdfReader Url =" @_url" EnableThumbnails =" _enableThumbnails"
5561 ShowTwoPagesOneView =" _showTwoPagesOneView" ShowDownload =" _showDownload"
56- ShowToolbar =" _showToolbar" ShowPrint =" _showPrint"
62+ ShowToolbar =" _showToolbar" ShowPrint =" _showPrint" ShowFileName = " _showFileName "
5763 ViewHeight =" 600px" OnGetStreamAsync =" OnGetStreamAsync" ></PdfReader >
5864</DemoBlock >
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ public partial class PdfReaders
2121 private bool _enableThumbnails = true ;
2222 private bool _showDownload = true ;
2323 private bool _showToolbar = true ;
24+ private bool _showFileName = true ;
2425 private string _url = "./samples/sample.pdf" ;
2526 private string _streamFileName = "" ;
2627
You can’t perform that action at this time.
0 commit comments