CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrHtmlRenderOptions

Namespace CodeGlyphX.Rendering.Html
Assembly CodeGlyphX
Modifiers sealed

Options for HtmlQrRenderer.

Inheritance

  • Object
  • QrHtmlRenderOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public QrHtmlRenderOptions WithDarkColor(String color) #
Returns: QrHtmlRenderOptions

Sets the dark color (CSS value).

Parameters

color System.String requiredposition: 0
public QrHtmlRenderOptions WithEmailSafeTable(Boolean enabled = true) #
Returns: QrHtmlRenderOptions

Enables or disables email-safe HTML output.

Parameters

enabled System.Boolean = true optionalposition: 0
public QrHtmlRenderOptions WithEyes(QrPngEyeOptions eyes) #
Returns: QrHtmlRenderOptions

Sets custom eye (finder) options.

Parameters

eyes CodeGlyphX.Rendering.Png.QrPngEyeOptions requiredposition: 0
public QrHtmlRenderOptions WithForegroundGradient(QrPngGradientOptions gradient) #
Returns: QrHtmlRenderOptions

Sets the foreground gradient.

Parameters

gradient CodeGlyphX.Rendering.Png.QrPngGradientOptions requiredposition: 0
public QrHtmlRenderOptions WithLightColor(String color) #
Returns: QrHtmlRenderOptions

Sets the light color (CSS value).

Parameters

color System.String requiredposition: 0
public QrHtmlRenderOptions WithLogo(QrLogoOptions logo) #
Returns: QrHtmlRenderOptions

Sets the logo overlay options.

Parameters

logo CodeGlyphX.Rendering.QrLogoOptions requiredposition: 0
public QrHtmlRenderOptions WithModuleCornerRadiusPx(Int32 radiusPx) #
Returns: QrHtmlRenderOptions

Sets the module corner radius in pixels.

Parameters

radiusPx System.Int32 requiredposition: 0
public QrHtmlRenderOptions WithModuleScale(Double scale) #
Returns: QrHtmlRenderOptions

Sets the module scale.

Parameters

scale System.Double requiredposition: 0
public QrHtmlRenderOptions WithModuleShape(QrPngModuleShape shape) #
Returns: QrHtmlRenderOptions

Sets the module shape.

Parameters

shape CodeGlyphX.Rendering.Png.QrPngModuleShape requiredposition: 0
public QrHtmlRenderOptions WithModuleSize(Int32 size) #
Returns: QrHtmlRenderOptions

Sets the module size in pixels.

Parameters

size System.Int32 requiredposition: 0
public QrHtmlRenderOptions WithQuietZone(Int32 quietZone) #
Returns: QrHtmlRenderOptions

Sets the quiet zone size in modules.

Parameters

quietZone System.Int32 requiredposition: 0

Properties

public Int32 ModuleSize { get; set; } #

Gets or sets the size of a single QR module in pixels.

public Int32 QuietZone { get; set; } #

Gets or sets the quiet zone size in modules.

public String DarkColor { get; set; } #

Gets or sets the dark color (CSS value).

public String LightColor { get; set; } #

Gets or sets the light color (CSS value).

public Boolean EmailSafeTable { get; set; } #

When true, produces an email-friendly table (no CSS background shorthand; uses bgcolor + compressed rows).

public QrPngModuleShape ModuleShape { get; set; } #

Gets or sets the module shape.

public Double ModuleScale { get; set; } #

Gets or sets the scale of the module inside its cell (0.1..1.0).

public Int32 ModuleCornerRadiusPx { get; set; } #

Gets or sets the corner radius in pixels for rounded modules.

public QrPngGradientOptions ForegroundGradient { get; set; } #

Optional gradient for the foreground (dark) modules.

public QrPngEyeOptions Eyes { get; set; } #

Optional eye (finder) styling overrides.