Class QrLogo
Represents a logo to be embedded within a QR code.
Inheritance
System.Object
QrLogo
Namespace: IronQr
Assembly: IronQr.dll
Syntax
public sealed class QrLogo : ValueType
Constructors
QrLogo(AnyBitmap, Int32, Int32, Single)
Initializes a new instance of the QrLogo struct with the specified bitmap, width, height, and corner radius.
Declaration
public QrLogo(AnyBitmap bitmap, int width = 0, int height = 0, float cornerRadius = 0F)
Parameters
| Type | Name | Description |
|---|---|---|
| IronSoftware.Drawing.AnyBitmap | bitmap | The bitmap image of the logo. |
| System.Int32 | width | The width of the logo. Defaults to 0. |
| System.Int32 | height | The height of the logo. Defaults to 0. |
| System.Single | cornerRadius | The corner radius of the logo. Defaults to 0. |
Properties
Bitmap
Gets or sets the bitmap image of the logo.
Declaration
public AnyBitmap Bitmap { get; set; }
Property Value
| Type | Description |
|---|---|
| IronSoftware.Drawing.AnyBitmap |
CornerRadius
Gets or sets the corner radius of the logo, allowing for rounded corners.
Declaration
public float CornerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Height
Gets or sets the height of the logo.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Width
Gets or sets the width of the logo.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |