QRCodeConsoleOptions Class

Options for rendering a QR code to the console.

public sealed class QRCodeConsoleOptions

Constructors

NameDescription
QRCodeConsoleOptions()

QRCodeConsoleOptions()

QRCodeConsoleOptions.cs
public QRCodeConsoleOptions()

No documentation is available.

Properties

NameDescription
InvertColorsGets or sets whether to invert colors (light-on-dark). Default is false.
ModuleHeightGets or sets the vertical size of each rendered module in text cells. Default is 1.
ModuleWidthGets or sets the horizontal size of each rendered module in text cells. Default is 1.
QuietZoneModulesGets or sets the number of quiet zone modules. Default is 2.

Gets or sets whether to invert colors (light-on-dark). Default is false.

public bool InvertColors { get; set; }

Property value

bool

Gets or sets the vertical size of each rendered module in text cells. Default is 1.

public int ModuleHeight { get; set; }

Property value

int

Gets or sets the horizontal size of each rendered module in text cells. Default is 1.

public int ModuleWidth { get; set; }

Property value

int

QuietZoneModules

QRCodeConsoleOptions.cs

Gets or sets the number of quiet zone modules. Default is 2.

public int QuietZoneModules { get; set; }

Property value

int