Aspose::BarCode::Generation Namespace Reference

Classes

class  AztecProperties
 Contains specific configuration properties for Aztec barcode. More...
 
class  BarCodeGenerator
 BarCodeGenerator for backend barcode images generation. More...
 
class  BaseEncodeType
 Base class for SymbologyEncodeType. More...
 
class  BorderProperties
 Contains specific configuration properties for barcode border. More...
 
class  Caption
 The text caption shown in the barcode image. There are two captions: CaptionBelow and CaptionAbove More...
 
class  ChecksumProperties
 Contains specific configuration properties for checksum of barcode. More...
 
class  CodabarProperties
 Contains specific configuration properties for Codabar barcode. More...
 
class  CodeTextStyle
 Contains specific configuration properties for codetext of barcode. More...
 
class  D2Properties
 Contains specific configuration properties for for 2D barcodes. More...
 
class  DataMatrixProperties
 Contains specific configuration properties for DataMatrix barcode. More...
 
class  EncodeTypes
 Specifies the type of barcode to encode. More...
 
class  FontUnit
 Defines a particular format for text, including font face, size, and style attributes where size in Unit value property. More...
 
class  ISimplePropertyChangedEventHandler
 
class  ITFProperties
 Contains specific configuration properties for ITF barcodes. More...
 
class  Margins
 Specifies the margins of a barcode image in Unit values. More...
 
class  Pdf417Properties
 Contains specific configuration properties for Pdf417 barcodes. More...
 
class  QRProperties
 Contains specific configuration properties for QR barcodes. More...
 
class  SupplementProperties
 Contains specific configuration properties for Supplement part of barcode. More...
 
class  SymbologyEncodeType
 Symbology encode type. See EncodeTypes to get instance. More...
 
class  Unit
 Specifies the size value in different units (Pixel, Inches, etc.). More...
 

Enumerations

enum  AutoSizeMode { AutoSizeMode::None, AutoSizeMode::Nearest, AutoSizeMode::Interpolation }
 Specifies the different types of automatic sizing modes. Default value is AutoSizeMode.None. More...
 
enum  BarcodeClassifications {
  BarcodeClassifications::None, BarcodeClassifications::Type1D, BarcodeClassifications::Type2D, BarcodeClassifications::Postal,
  BarcodeClassifications::Databar, BarcodeClassifications::Coupon
}
 Symbology classification
More...
 

Enumeration Type Documentation

◆ AutoSizeMode

Specifies the different types of automatic sizing modes. Default value is AutoSizeMode.None.

This sample shows how to create and save a BarCode image.

[C#]
using (BarCodeGenerator generator = new BarCodeGenerator(EncodeTypes.DataMatrix))
{
generator.AutoSizeMode = AutoSizeMode.Nearest;
generator.BarCodeWidth.Millimeters = 50;
generator.BarCodeHeight.Inches = 1.3f;
generator.Save("test.png");
}
Enumerator
None 

Automatic resizing is disabled. Default value.

Nearest 

Barcode resizes to nearest lowest possible size which are specified by BarCodeWidth and BarCodeHeight properties.

Interpolation 

Resizes barcode to specified size with little scaling but it can be little damaged in some cases because using interpolation for scaling. Size can be specified by BarCodeGenerator::BarCodeWidth and BarCodeGenerator::BarCodeHeight properties.

This sample shows how to create and save a BarCode image in Scale mode.

[C#]
using (BarCodeGenerator generator = new BarCodeGenerator(EncodeTypes.DataMatrix))
{
generator.AutoSizeMode = AutoSizeMode.Interpolation;
generator.BarCodeWidth.Millimeters = 50;
ggenerator.BarCodeHeight.Inches = 1.3f;
generator.Save("test.png");
}

◆ BarcodeClassifications

Symbology classification

Enumerator
None 

Unspecified classification

Type1D 

Specifies 1D-barcode

Type2D 

Specifies 2D-barcode

Postal 

Specifies Postal-barcode

Databar 

Specifies DataBar-barcode

Coupon 

Specifies Coupon-barcode