CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrLogoOptions

Namespace CodeGlyphX.Rendering
Assembly CodeGlyphX
Modifiers sealed

Options for embedding a PNG logo inside a QR render (SVG/HTML).

Inheritance

  • Object
  • QrLogoOptions

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

public QrLogoOptions(Byte[] png) #

Creates a logo option with PNG bytes.

Parameters

png System.Byte[] requiredposition: 0

Methods

public static QrLogoOptions FromPngFile(String path) #
Returns: QrLogoOptions

Creates a logo option from a PNG file.

Parameters

path System.String requiredposition: 0
PNG file path.

Returns

Logo options.

Properties

public Byte[] Png { get; } #

PNG bytes for the logo image.

public Double Scale { get; set; } #

Maximum logo size relative to the QR area (excluding quiet zone).

public Int32 PaddingPx { get; set; } #

Padding in pixels around the logo.

public Boolean DrawBackground { get; set; } #

Whether to draw a background plate behind the logo.

public Rgba32 Background { get; set; } #

Background color for the logo plate.

public Int32 CornerRadiusPx { get; set; } #

Corner radius for the background plate in pixels.