API Reference
Class
QrLogoOptions
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.
Returned or exposed by
- Property QrHtmlRenderOptions.Logo
- Method QrLogoOptions.FromPngFile
- Property QrSvgRenderOptions.Logo
Accepted by parameters
- Method QrHtmlRenderOptions.WithLogo
- Method QrSvgRenderOptions.WithLogo
Constructors
Methods
public static QrLogoOptions FromPngFile(String path) #Returns:
QrLogoOptionsCreates a logo option from a PNG file.
Parameters
- path System.String
- PNG file path.
Returns
Logo options.
Inherited Methods
Properties
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.