public HCBarCodeItem(HCCustomData aOwnerData, string aText) : base(aOwnerData)
 {
     StyleNo  = HCStyle.BarCode;
     FCode128 = new HCCode128(aText);
     FCode128.OnWidthChanged = DoCodeWidthChanged;
     Width  = FCode128.Width;
     Height = 100;
 }
 public HCFloatBarCodeItem(HCCustomData aOwnerData) : base(aOwnerData)
 {
     StyleNo   = HCStyle.FloatBarCode;
     FAutoSize = true;
     FCode128  = new HCCode128("123456");
     FCode128.OnWidthChanged = DoCodeWidthChanged;
     Width  = FCode128.Width;
     Height = 100;
 }