webenology.blazor.components 2.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package webenology.blazor.components --version 2.0.10                
NuGet\Install-Package webenology.blazor.components -Version 2.0.10                
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="webenology.blazor.components" Version="2.0.10" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add webenology.blazor.components --version 2.0.10                
#r "nuget: webenology.blazor.components, 2.0.10"                
#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 webenology.blazor.components as a Cake Addin
#addin nuget:?package=webenology.blazor.components&version=2.0.10

// Install webenology.blazor.components as a Cake Tool
#tool nuget:?package=webenology.blazor.components&version=2.0.10                

webenology.blazor.components

Blazor Component Library

Nuget package: https://www.nuget.org/packages/webenology.blazor.components/

How to Use Generate PDF From Blazor Component

In Startup make sure to add in

services.AddWebenologyHelpers();

On Your component make sure to inject the blazor pdf class

[Inject]
private IBlazorPdf blazorPdf {get;set;}

Then to get the pdf in base64 you will call the following, we are generating the Counter component

The Counter paramaers are added in by x.Add(y=> y.Param, value)

The Css and Js file locations are absolute locations

var fileName = "my file name";
var cssFileLocations = new List<string>();
var jsFileLocations = new List<string>();
_base64Results = blazorPdf.GetBlazorInPdfBase64<Counter>(x => x.Add(y=> y.StartingValue, 2), fileName, cssFileLocations, jsFileLocations);

You can render the results however you want. An easy way to render them is to set the base64 into an embed component

<embed style="width: 100%; height: 650px;" src="data:application/pdf;base64,@_base64Results">
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 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.0 1,062 10/15/2023
2.2.5 255 9/19/2023
2.2.3 324 8/25/2023
2.2.0 254 8/22/2023
2.1.7 272 8/22/2023
2.1.6 466 7/5/2023
2.1.5 246 6/27/2023
2.1.3 275 5/22/2023
2.1.2 284 5/17/2023
2.1.1 287 5/17/2023
2.0.21 301 5/11/2023
2.0.20 498 3/7/2023
2.0.18 3,574 11/18/2022
2.0.17 3,892 11/2/2022
2.0.16 639 10/25/2022
2.0.15 952 5/20/2022
2.0.14 803 5/19/2022
2.0.13 826 5/11/2022
2.0.12 771 5/11/2022
2.0.11 746 5/10/2022
2.0.10 807 4/26/2022
2.0.9 847 4/20/2022
2.0.8 891 2/10/2022
2.0.7 796 2/3/2022
2.0.6 810 1/21/2022
2.0.5 623 1/12/2022
2.0.4 397 1/5/2022
2.0.2 394 12/25/2021
2.0.1 1,420 12/14/2021
2.0.0 300 12/14/2021
1.4.6 314 12/7/2021
1.4.5 295 12/7/2021
1.4.4 319 11/9/2021
1.4.3 321 11/8/2021
1.4.2 416 11/5/2021
1.3.2 553 9/29/2021
1.3.1 372 9/5/2021
1.2.3 337 9/3/2021
1.2.2 341 8/16/2021
1.2.1 347 8/9/2021
1.2.0 366 8/2/2021
1.1.22 386 7/23/2021
1.1.21 385 7/22/2021
1.1.20 351 7/21/2021
1.1.19 344 7/13/2021
1.1.18 399 6/9/2021
1.1.17 484 6/6/2021
1.1.16 369 4/21/2021
1.1.14 407 3/11/2021
1.1.13 369 2/17/2021
1.1.12 376 2/15/2021
1.1.10 388 2/11/2021
1.1.9 370 2/2/2021
1.1.8 361 2/2/2021
1.1.7 442 1/17/2021
1.1.6 370 1/16/2021
1.1.5 377 1/15/2021
1.1.4 379 1/14/2021
1.1.3 408 1/14/2021
1.1.2 371 1/13/2021
1.1.1 443 1/10/2021
1.1.0 454 1/8/2021
1.0.16 411 1/6/2021
1.0.15 409 1/5/2021
1.0.14 424 1/2/2021
1.0.13 382 12/29/2020
1.0.12 406 12/29/2020
1.0.11 363 12/29/2020
1.0.10 460 12/26/2020
1.0.9 466 12/26/2020
1.0.7 481 12/26/2020
1.0.6 522 12/26/2020
1.0.5 399 12/26/2020

Fix combobox issue when clicking space first before adding any search text.