LEADTOOLS Barcode (Leadtools.Barcode assembly)

QRBarcodeWriteOptions Class

Show in webframe







Members 
Contains extra options to use when writing QR barcodes.
Object Model
Syntax
[TypeConverterAttribute()]
[SerializableAttribute()]
public class QRBarcodeWriteOptions : BarcodeWriteOptions, System.ICloneable  
'Declaration
 
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class QRBarcodeWriteOptions 
   Inherits BarcodeWriteOptions
   Implements System.ICloneable 
'Usage
 
Dim instance As QRBarcodeWriteOptions
public sealed class QRBarcodeWriteOptions : System.ICloneable  
@interface LTQRBarcodeWriteOptions : LTBarcodeWriteOptions
public class QRBarcodeWriteOptions extends BarcodeWriteOptions
function Leadtools.Barcode.QRBarcodeWriteOptions()
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class QRBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable  
Remarks

The QRBarcodeWriteOptions class is used to control the options when writing QR barcodes using LEADTOOLS. Set the options in two ways:

The BarcodeWriter class contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using the BarcodeWriter.GetDefaultOptions method, passing BarcodeSymbology.QR. Then change the members of the returned QRBarcodeWriteOptions by casting it from BarcodeWriteOptions to QRBarcodeWriteOptions.

You can also create an instance of the QRBarcodeWriteOptions class and use it directly in the BarcodeWriter.WriteBarcode method which accepts the options as an input parameter.

The base BarcodeWriteOptions contains the following members and features:

Member Description
BarcodeWriteOptions.ForeColor

Controls the barcode foreground color (color of the bars or symbols) to use when writing a barcode to an image.

BarcodeWriteOptions.BackColor

Controls the barcode background color (color of the spaces) to use when writing a barcode to an image.

BarcodeWriteOptions.Load and BarcodeWriteOptions.Save

Can be used to save or load the options to/from an XML file or stream.

BarcodeWriteOptions.GetSupportedSymbologies

This class overrides the base class method to return an array containing the following symbologies: BarcodeSymbology.QR

In addition to these features and members, the QRBarcodeWriteOptions contains these QR barcodes specific features:

Member Description
HorizontalAlignment

Horizontal alignment for the barcode inside the destination bounds.

VerticalAlignment

Vertical alignment for the barcode inside the destination bounds.

GroupNumber

The group number to use when writing QR barcode.

GroupTotal

The group total to use when writing QR barcode.

XModule

The size of the smallest module when writing a QR barcode.

ECCLevel

The ECC (Error Correction) level to use when writing QR barcodes.

Example

For an example, refer to QRBarcodeData.

Requirements

Target Platforms

See Also

Reference

QRBarcodeWriteOptions Members
Leadtools.Barcode Namespace
QRBarcodeData Class
BarcodeWriter Class
BarcodeSymbology Enumeration
BarcodeEngine Class
BarcodeWriter.WriteBarcode
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Writing Barcodes Tutorial
QR Barcodes in LEADTOOLS
Writing Barcodes - Bounds and XModule

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features