示例#1
0
 private BarcodeLayoutSettings MapToLayoutSettings(BarCodePrintLayout _Object)
 {
     return(new BarcodeLayoutSettings
     {
         PropertyName = _Object.PropertyName,
         PropertyNameArabic = _Object.PropertyNameArabic,
         PropertyType = _Object.PropertyType,
         FontFamily = _Object.FontFamily,
         FontSize = _Object.FontSize,
         ItalicProperty = _Object.ItalicProperty,
         CanvasLeft = _Object.CanvasLeft,
         CanvasTop = _Object.CanvasTop,
         printingPropertiesIserial = _Object.printingPropertiesIserial,
         Iserial = _Object.Iserial,
         BoldProperty = _Object.BoldProperty,
         BarcodeHeight = _Object.BarcodeHeight,
         BarcodeWidth = _Object.BarcodeWidth,
         Code = _Object.Code,
         PrintingBarcodeFormate = _Object.PrintingBarcodeFormate,
         BarcodeOperation = _Object.BarcodeOperation,
         PageHeightProperty = _Object.PageHeight,
         PageWidthProperty = _Object.PageWidth,
         PageSizeUnitProperty = _Object.PageSizeUnit,
         PageWidthSizeUnitProperty = _Object.PageWidth.ToString() + " " + _Object.PageSizeUnit,
         PageHeightSizeUnitProperty = _Object.PageHeight.ToString() + " " + _Object.PageSizeUnit,
     });
 }
示例#2
0
 private GenericBarcodeTemplate MapToBarcodeSettingsDetails(BarCodePrintLayout _Object)
 {
     return(new GenericBarcodeTemplate(this)
     {
         Code = _Object.Code,
         PropertyName = _Object.PropertyName,
         PropertyType = _Object.PropertyType,
         PropertyNameArabic = _Object.PropertyNameArabic,
         BarcodePropertiesIserial = _Object.printingPropertiesIserial,
         FontSizeProp = _Object.FontSize,
         BoldProperty = _Object.BoldProperty,
         ItalicProperty = _Object.ItalicProperty,
         FontFamilyProp = _Object.FontFamily,
         CanvasLeftPropperty = _Object.CanvasLeft,
         CanvasTopPropperty = _Object.CanvasTop,
     });
 }