BootstrapBlazor.PdfReader 0.0.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package BootstrapBlazor.PdfReader --version 0.0.1                
NuGet\Install-Package BootstrapBlazor.PdfReader -Version 0.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapBlazor.PdfReader" Version="0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.PdfReader --version 0.0.1                
#r "nuget: BootstrapBlazor.PdfReader, 0.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BootstrapBlazor.PdfReader as a Cake Addin
#addin nuget:?package=BootstrapBlazor.PdfReader&version=0.0.1

// Install BootstrapBlazor.PdfReader as a Cake Tool
#tool nuget:?package=BootstrapBlazor.PdfReader&version=0.0.1                

Blazor Pdf Reader PDF阅读器 组件

示例:

https://blazor.app1.es/PdfReader

使用方法:

1.nuget包

BootstrapBlazor.PdfReader

2._Imports.razor 文件 或者页面添加 添加组件库引用

@using BootstrapBlazor.Components

3.razor页面

<PdfReader OnFileText="OnFileText" 
            OnFileStream="OnFileStream" 
            OnDirectory="OnDirectory" 
            />

<pre>@contents</pre>

@code{

    private string contents;

    private Task OnFileText(string contents)
    {
        this.contents = contents;
        StateHasChanged();
        return Task.CompletedTask;
    }
    
    private Task OnFileStream(Stream stream)
    {
        //using MiniExcelLibs
        //private string contentsExcel;
        //var rows = stream.Query().ToList();
        //rows.ForEach(a=> contentsExcel += Environment.NewLine + string.Join(" | " , a ));
        StateHasChanged();
        return Task.CompletedTask;
    }
    
    private Task OnDirectory(List<string> dirs)
    {
        if (dirs == null || !dirs.Any()) return Task.CompletedTask;
        contents += "Dir:" + Environment.NewLine;
        contents += dirs.First() + Environment.NewLine;
        foreach (var item in dirs.Skip(1).OrderByDescending(a => a.StartsWith("+")).ThenBy(a => a))
        {
            contents += item + Environment.NewLine;
        }
        StateHasChanged();
        return Task.CompletedTask;
    }


} 
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on BootstrapBlazor.PdfReader:

Package Downloads
BlazorShared

BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库

BootstrapBlazor.Densen.All

Blazor 组件懒人包

BootstrapBlazor.Shared

Package Description

BlazorWpf.UI.BootstrapBlazor

BlazorWpf框架的BootstrapBlazor UI库

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on BootstrapBlazor.PdfReader:

Repository Stars
dotnetcore/BootstrapBlazor
A set of enterprise-class UI components based on Bootstrap and Blazor
LANCommander/LANCommander
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
Version Downloads Last updated
8.0.4 4,408 4/18/2024
8.0.3 1,198 1/24/2024
8.0.2 1,403 12/9/2023
8.0.1 347 12/5/2023
8.0.1-beta2 78 12/5/2023
8.0.1-beta 106 12/5/2023
8.0.0 603 11/15/2023
7.2.0 2,469 8/22/2023
7.1.11-beta 102 8/22/2023
7.1.10 3,510 3/18/2023
7.1.9 297 3/18/2023
7.1.8 1,632 1/26/2023
7.1.7 415 1/25/2023
7.1.5 285 1/24/2023
7.1.4 800 12/26/2022
7.1.3 269 12/26/2022
7.1.2 534 12/18/2022
7.1.1 290 12/18/2022
7.1.0 294 12/18/2022
7.0.8-beta 124 12/16/2022
7.0.7 416 12/14/2022
7.0.6 431 12/7/2022
7.0.5 298 12/7/2022
7.0.4 293 12/7/2022
7.0.3 437 12/7/2022
7.0.2 372 12/7/2022
7.0.1 276 12/6/2022
7.0.0 295 12/6/2022
0.0.1 316 12/6/2022