File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6262 <PackageReference Include =" BootstrapBlazor.OfficeViewer" Version =" 10.0.0" />
6363 <PackageReference Include =" BootstrapBlazor.OnScreenKeyboard" Version =" 10.0.0" />
6464 <PackageReference Include =" BootstrapBlazor.OpcDa" Version =" 10.0.0" />
65- <PackageReference Include =" BootstrapBlazor.PdfReader" Version =" 10.0.1-beta01 " />
65+ <PackageReference Include =" BootstrapBlazor.PdfReader" Version =" 10.0.1-beta02 " />
6666 <PackageReference Include =" BootstrapBlazor.PdfViewer" Version =" 10.0.0" />
6767 <PackageReference Include =" BootstrapBlazor.Player" Version =" 10.0.1" />
6868 <PackageReference Include =" BootstrapBlazor.RDKit" Version =" 10.0.0" />
Original file line number Diff line number Diff line change 77<PackageTips Name =" BootstrapBlazor.PdfReader" />
88
99<DemoBlock Title =" @Localizer[" PdfReaderNormalText " ]" Introduction =" @Localizer[" PdfReaderNormalIntro " ]" Name =" Normal" >
10- <PdfReader ViewHeight = " 800px " Url = " ./samples/sample.pdf " ></PdfReader >
10+ <PdfReader Options = " _options " ></PdfReader >
1111</DemoBlock >
1212
1313@* <DemoBlock Title="@Localizer["PdfReaderStreamModeText"]" Introduction="@Localizer["PdfReaderStreamModeIntro"]" Name="StreamMode">
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ public partial class PdfReaders
2121 [ NotNull ]
2222 PdfReader ? PdfReader { get ; set ; }
2323
24+ private PdfReaderOptions _options = new ( )
25+ {
26+ Url = "./samples/sample.pdf" ,
27+ ViewHeight = "600px"
28+ } ;
29+
2430 private string FilenameStream { get ; set ; } = "https://blazor.app1.es/_content/DemoShared/samples/sample2.pdf" ;
2531
2632 private async Task ApplyFilenameStream ( )
You can’t perform that action at this time.
0 commit comments