Class EncodingInfo
- Namespace
- Net.Codecrete.QrCodeGenerator
- Assembly
- QrCodeGenerator.dll
Details about the QR code encoding.
The details can be collected during QR code generation for analysis purposes, but they are not used by the library itself. Collecting the information will make the QR code generation slower as the library will fully calcuate the penalty score for all data mask patterns, even if it is already clear that the pattern is not the best one.
public class EncodingInfo
- Inheritance
-
EncodingInfo
- Inherited Members
Properties
DataSegments
The data segments used to represent the payload data.
public List<DataSegment> DataSegments { get; set; }
Property Value
ForcedDataMask
The data mask to be forcibly applied to the data source, overriding the result of the automatic mask selection.
Set this property to a value between 0 and 7 to specify a particular data mask. A value of -1 indicates that the best data mask will be automatically selected.
public int ForcedDataMask { get; set; }
Property Value
Penalties
The penalty score for all eight possible data mask patterns.
public PenaltyScore[] Penalties { get; }