HtmlForgeX

API Reference

Class

EasyQRCodeElement

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Renders a QR code using the EasyQRCode library.

Inheritance

Constructors

public EasyQRCodeElement(String text) #

Initializes a new instance of the EasyQRCodeElement class.

Parameters

text System.String requiredposition: 0
Text to encode.

Methods

RegisterLibraries() #

Registers the required libraries for EasyQRCodeElement.

public override String ToString() #
Returns: String

Generates the HTML and script elements for the QR code.

Returns

The HTML string.

Properties

public String Id { get; set; } #

Gets the HTML element identifier.