API Reference
QrSvgRenderOptions
Options for SvgQrRenderer.
Inheritance
- Object
- QrSvgRenderOptions
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 QrSvgRenderOptions.WithDarkColor
- Method QrSvgRenderOptions.WithEyes
- Method QrSvgRenderOptions.WithForegroundGradient
- Method QrSvgRenderOptions.WithLightColor
- Method QrSvgRenderOptions.WithLogo
- Method QrSvgRenderOptions.WithModuleCornerRadiusPx
- Method QrSvgRenderOptions.WithModuleScale
- Method QrSvgRenderOptions.WithModuleShape
- Method QrSvgRenderOptions.WithModuleSize
- Method QrSvgRenderOptions.WithQuietZone
Accepted by parameters
- Method SvgQrRenderer.Render
- Method SvgQrRenderer.RenderToFile
- Method SvgQrRenderer.RenderToFile
- Method SvgQrRenderer.RenderToStream
- Method QrSvgzRenderer.Render
- Method QrSvgzRenderer.RenderToFile
- Method QrSvgzRenderer.RenderToFile
- Method QrSvgzRenderer.RenderToStream
Constructors
public QrSvgRenderOptions() #Methods
public QrSvgRenderOptions WithDarkColor(String color) #QrSvgRenderOptionsSets the dark color (CSS value).
Parameters
- color System.String
public QrSvgRenderOptions WithEyes(QrPngEyeOptions eyes) #QrSvgRenderOptionsSets custom eye (finder) options.
Parameters
- eyes CodeGlyphX.Rendering.Png.QrPngEyeOptions
public QrSvgRenderOptions WithForegroundGradient(QrPngGradientOptions gradient) #QrSvgRenderOptionsSets the foreground gradient.
Parameters
- gradient CodeGlyphX.Rendering.Png.QrPngGradientOptions
public QrSvgRenderOptions WithLightColor(String color) #QrSvgRenderOptionsSets the light color (CSS value).
Parameters
- color System.String
public QrSvgRenderOptions WithLogo(QrLogoOptions logo) #QrSvgRenderOptionsSets the logo overlay options.
Parameters
- logo CodeGlyphX.Rendering.QrLogoOptions
public QrSvgRenderOptions WithModuleCornerRadiusPx(Int32 radiusPx) #QrSvgRenderOptionsSets the module corner radius in pixels.
Parameters
- radiusPx System.Int32
public QrSvgRenderOptions WithModuleScale(Double scale) #QrSvgRenderOptionsSets the module scale.
Parameters
- scale System.Double
public QrSvgRenderOptions WithModuleShape(QrPngModuleShape shape) #QrSvgRenderOptionsSets the module shape.
Parameters
- shape CodeGlyphX.Rendering.Png.QrPngModuleShape
public QrSvgRenderOptions WithModuleSize(Int32 size) #QrSvgRenderOptionsSets the module size in pixels.
Parameters
- size System.Int32
public QrSvgRenderOptions WithQuietZone(Int32 quietZone) #QrSvgRenderOptionsSets 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 QrLogoOptions Logo { get; set; } #Optional logo overlay (PNG).
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.