Class TAsBarcode

Unit

Declaration

type TAsBarcode = class(TComponent)

Description

TAsBarcode draw barcode graphics to any canvas

Hierarchy

  • TComponent
  • TAsBarcode

Overview

Methods

Public constructor Create(Owner: TComponent); override;
Public destructor Destroy; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure DrawBarcode(Canvas: TCanvas);

Properties

Published property BarCode: string read FBarCode write FBarCode;
Published property BarCodeType: TBarcodeType read FBarCodeType write FBarCodeType default bcCode_2_5_interleaved;
Published property UseCheckSum: boolean read FUseCheckSum write FUseCheckSum default true;
Published property Top: integer read FTop write FTop;
Published property Left: integer read FLeft write FLeft;
Published property Height: integer read FHeight write FHeight;
Published property Width: integer read GetWidth write SetWidth stored FALSE;
Published property Modul: integer read FModul write SetModul;
Published property Ratio: double read FRatio write FRatio;
Published property ShowText: boolean read FShowText write FShowText default true;
Published property ShowTextFont: TFont read FShowTextFont write SetShowTextFont;
Published property ShowTextPosition: TShowTextPosition read FShowTextPosition write FShowTextPosition default stpTopLeft;
Published property AutoFontSize: boolean read FAutoFontSize write FAutoFontSize;
Published property Color: TColor read FColor write FColor default clWhite;
Published property ColorBar: TColor read FColorBar write FColorBar default clBlack;

Description

Methods

Public constructor Create(Owner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure Assign(Source: TPersistent); override;
 
Public procedure DrawBarcode(Canvas: TCanvas);
 

Properties

Published property BarCode: string read FBarCode write FBarCode;
 
Published property BarCodeType: TBarcodeType read FBarCodeType write FBarCodeType default bcCode_2_5_interleaved;
 
Published property UseCheckSum: boolean read FUseCheckSum write FUseCheckSum default true;
 
Published property Top: integer read FTop write FTop;
 
Published property Left: integer read FLeft write FLeft;
 
Published property Height: integer read FHeight write FHeight;
 
Published property Width: integer read GetWidth write SetWidth stored FALSE;
 
Published property Modul: integer read FModul write SetModul;

Width of the smallest line in a Barcode

Published property Ratio: double read FRatio write FRatio;
 
Published property ShowText: boolean read FShowText write FShowText default true;
 
Published property ShowTextFont: TFont read FShowTextFont write SetShowTextFont;
 
Published property ShowTextPosition: TShowTextPosition read FShowTextPosition write FShowTextPosition default stpTopLeft;
 
Published property AutoFontSize: boolean read FAutoFontSize write FAutoFontSize;
 
Published property Color: TColor read FColor write FColor default clWhite;
 
Published property ColorBar: TColor read FColorBar write FColorBar default clBlack;
 

Generated by PasDoc 0.15.0.