RMQRCodeOptions Class

Options for the creation of rectangular Micro QR codes by QRCode.CreateRMQR.

public sealed class RMQRCodeOptions

Remarks

An rMQR symbol is 7, 9, 11, 13, 15 or 17 modules high, and 27, 43, 59, 77, 99 or 139 modules wide (the widths of 27 modules only exist with a height of 11 or 13). Among the sizes that satisfy these options and hold the data, the symbol has the one with the fewest modules.

The sizes are numbers of modules, not the size of the image: the ModuleSize of the renderers sets how many pixels or units a module takes.

Constructors

NameDescription
RMQRCodeOptions()

RMQRCodeOptions()

public RMQRCodeOptions()

No documentation is available.

Properties

NameDescription
HeightGets or sets the exact height of the symbol in modules (7, 9, 11, 13, 15 or 17), or null for any height.
MaximumHeightGets or sets the largest height of the symbol in modules, or null for no limit.
MaximumWidthGets or sets the largest width of the symbol in modules, or null for no limit.
WidthGets or sets the exact width of the symbol in modules (27, 43, 59, 77, 99 or 139), or null for any width.

Gets or sets the exact height of the symbol in modules (7, 9, 11, 13, 15 or 17), or null for any height.

public int? Height { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is not a height of rMQR symbols.

MaximumHeight

RMQRCodeOptions.cs

Gets or sets the largest height of the symbol in modules, or null for no limit.

public int? MaximumHeight { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is less than 7, the smallest height of rMQR symbols.

MaximumWidth

RMQRCodeOptions.cs

Gets or sets the largest width of the symbol in modules, or null for no limit.

public int? MaximumWidth { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is less than 27, the smallest width of rMQR symbols.

Gets or sets the exact width of the symbol in modules (27, 43, 59, 77, 99 or 139), or null for any width.

public int? Width { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is not a width of rMQR symbols.