[]
        
(Showing Draft Content)

GrapeCity.Documents.Barcode.QRCodeOptions

Class QRCodeOptions

Namespace
GrapeCity.Documents.Barcode
Assembly
GcDocs.Barcode.dll

The options of QRCode

public class QRCodeOptions : BarCodeOptionsBase
Inheritance
object
QRCodeOptions
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Constructors

QRCodeOptions()

Initializes a new instance of the GrapeCity.Documents.Barcode.QRCode class.

public QRCodeOptions()

QRCodeOptions(string)

Initializes a new instance of the GrapeCity.Documents.Barcode.QRCode class.

public QRCodeOptions(string str)

Parameters

str string

Properties

Connection

Gets or sets whether connection is used for the barcode.

public bool Connection { get; set; }

Property Value

bool

ConnectionNumber

Gets or sets the connection number for the barcode.

public int ConnectionNumber { get; set; }

Property Value

int

Encoding

Gets or sets the Encoding of the barcode data.

public Encoding Encoding { get; set; }

Property Value

System.Text.Encoding

ErrorLevel

Gets or sets the error correction level for the barcode.

public QRCodeErrorLevel ErrorLevel { get; set; }

Property Value

QRCodeErrorLevel

Mask

Gets or sets the pattern used for the barcode masking.

public QRCodeMask Mask { get; set; }

Property Value

QRCodeMask

Model

Gets or sets the QRCode model.

public QRCodeModel Model { get; set; }

Property Value

QRCodeModel

Version

Gets or sets the QRCode version.

public int Version { get; set; }

Property Value

int

Remarks

Specify any value between 1 and 14 when the Model property is set to Model1 and 1 to 40 for Model2. When -1 is specified, the version most suited to the value is automatically determined

Methods

AssignFrom(BarCodeOptionsBase)

Assigns (copies) properties from another BarCodeOptionsBase to the current object.

public override void AssignFrom(BarCodeOptionsBase source)

Parameters

source BarCodeOptionsBase

The source object to copy properties from.

Clone()

Makes object copy

public override object Clone()

Returns

object

Reset()

Resets all properties to default values.

public void Reset()

ResetEncoding()

protected void ResetEncoding()

ShouldSerialize()

Indicates whether any property of this object has changed from its default value.

public bool ShouldSerialize()

Returns

bool

Return true if any object has changed from its default value, false otherwise.

ShouldSerializeEncoding()

protected bool ShouldSerializeEncoding()

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.