SpawnDev.Blazor.QRCodeRenderer 1.0.2

dotnet add package SpawnDev.Blazor.QRCodeRenderer --version 1.0.2                
NuGet\Install-Package SpawnDev.Blazor.QRCodeRenderer -Version 1.0.2                
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="SpawnDev.Blazor.QRCodeRenderer" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpawnDev.Blazor.QRCodeRenderer --version 1.0.2                
#r "nuget: SpawnDev.Blazor.QRCodeRenderer, 1.0.2"                
#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 SpawnDev.Blazor.QRCodeRenderer as a Cake Addin
#addin nuget:?package=SpawnDev.Blazor.QRCodeRenderer&version=1.0.2

// Install SpawnDev.Blazor.QRCodeRenderer as a Cake Tool
#tool nuget:?package=SpawnDev.Blazor.QRCodeRenderer&version=1.0.2                

SpawnDev.Blazor.QRCodeRenderer

NuGet version

SpawnDev.Blazor.QRCodeRenderer is a pure C# QRCode renderer for Blazor based on the popular open source and MIT Licensed QRCoder.

Live Demo

Image QRCode renderer

<QRCodeImage DarkColor="darkgreen" DataText="Hello world!" QRRenderMode="QRRenderMode.ImageElementPng" />

SVG QRCode renderer

<QRCodeImage DarkColor="darkgreen" DataText="Hello world!" QRRenderMode="QRRenderMode.SvgElement" />

Parameters

DataText (optional)
  • string - Text data that will be used for the QRCode if not null
DataBytes (optional)
  • byte[] - Binary data that will be used for the QRCode if not null
DataTextType (optional)
  • DataTextType - DataTextType indicates how DataText should be processed before rendering
Style (optional)
  • string - Style to apply to the img/svg element
ECCLevel (optional)
  • ECCLevel - Error Correction Level
PixelsPerModule (optional)
  • int - The pixel size each b/w module is drawn
DrawQuietZones (optional)
  • bool - If true a white border is drawn around the whole QR Code
DarkColor (optional)
  • string - The color of the dark/black modules in html notation
LightColor (optional)
  • string - The color of the light/white modules in html notation
AutoUpdateUriRelativeUrls (optional)
  • bool - If true (default) a DataTextType.UriRelativeUrl DataText URL will automatically be updated when a NavigationManager.LocationChanged event fires
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 is compatible.  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
1.0.2 199 3/25/2024
1.0.1 116 3/25/2024