API Reference
QrHtmlRenderOptions
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.
Returned or exposed by
- Method QrHtmlRenderOptions.WithDarkColor
- Method QrHtmlRenderOptions.WithEmailSafeTable
- Method QrHtmlRenderOptions.WithEyes
- Method QrHtmlRenderOptions.WithForegroundGradient
- Method QrHtmlRenderOptions.WithLightColor
- Method QrHtmlRenderOptions.WithLogo
- Method QrHtmlRenderOptions.WithModuleCornerRadiusPx
- Method QrHtmlRenderOptions.WithModuleScale
- Method QrHtmlRenderOptions.WithModuleShape
- Method QrHtmlRenderOptions.WithModuleSize
- Method QrHtmlRenderOptions.WithQuietZone
Accepted by parameters
- Method HtmlQrRenderer.Render
- Method HtmlQrRenderer.RenderToFile
- Method HtmlQrRenderer.RenderToFile
- Method HtmlQrRenderer.RenderToStream
Constructors
public QrHtmlRenderOptions() #Methods
public QrHtmlRenderOptions WithDarkColor(String color) #QrHtmlRenderOptionsSets the dark color (CSS value).
Parameters
- color System.String
public QrHtmlRenderOptions WithEmailSafeTable(Boolean enabled = true) #QrHtmlRenderOptionsEnables or disables email-safe HTML output.
Parameters
- enabled System.Boolean = true
public QrHtmlRenderOptions WithEyes(QrPngEyeOptions eyes) #QrHtmlRenderOptionsSets custom eye (finder) options.
Parameters
- eyes CodeGlyphX.Rendering.Png.QrPngEyeOptions
public QrHtmlRenderOptions WithForegroundGradient(QrPngGradientOptions gradient) #QrHtmlRenderOptionsSets the foreground gradient.
Parameters
- gradient CodeGlyphX.Rendering.Png.QrPngGradientOptions
public QrHtmlRenderOptions WithLightColor(String color) #QrHtmlRenderOptionsSets the light color (CSS value).
Parameters
- color System.String
public QrHtmlRenderOptions WithLogo(QrLogoOptions logo) #QrHtmlRenderOptionsSets the logo overlay options.
Parameters
- logo CodeGlyphX.Rendering.QrLogoOptions
public QrHtmlRenderOptions WithModuleCornerRadiusPx(Int32 radiusPx) #QrHtmlRenderOptionsSets the module corner radius in pixels.
Parameters
- radiusPx System.Int32
public QrHtmlRenderOptions WithModuleScale(Double scale) #QrHtmlRenderOptionsSets the module scale.
Parameters
- scale System.Double
public QrHtmlRenderOptions WithModuleShape(QrPngModuleShape shape) #QrHtmlRenderOptionsSets the module shape.
Parameters
- shape CodeGlyphX.Rendering.Png.QrPngModuleShape
public QrHtmlRenderOptions WithModuleSize(Int32 size) #QrHtmlRenderOptionsSets the module size in pixels.
Parameters
- size System.Int32
public QrHtmlRenderOptions WithQuietZone(Int32 quietZone) #QrHtmlRenderOptionsSets the quiet zone size in modules.
Parameters
- quietZone System.Int32
Inherited Methods
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 QrLogoOptions Logo { get; set; } #Optional logo overlay (PNG). Not email-safe.
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.