i have tried the code below adding the changes you suggested but the barcode wil not change color - am i doing something wrong ????? its still has a red background with a thin black border and black barcode.
thanks for ur help
this.linearBarCode1.BackColor = System.Drawing.Color.Black; //set the background color to black
this.linearBarCode1.CodeColor = System.Drawing.Color.White; //the codetext color to white
this.linearBarCode1.ForeColor = System.Drawing.Color.White; //the bar color to white
this.linearBarCode1.SymbologyType = Aspose.BarCode.Symbology.Code39Standard; //use the code 39
this.linearBarCode1.ShowBorder = false; //hide the border
//this.linearBarCode1.BackColor = System.Drawing.Color.White;
this.linearBarCode1.BarHeight = 6F;
this.linearBarCode1.BorderColor = System.Drawing.Color.Black;
this.linearBarCode1.BorderDashStyle = Aspose.BarCode.BorderDashStyle.Solid;
this.linearBarCode1.BorderMargins = new Aspose.BarCode.MarginsF(2F, 2F, 1F, 1F);
this.linearBarCode1.BorderWidth = 0.0F;
this.linearBarCode1.CaptionAbove = new Aspose.BarCode.Caption("", false, System.Drawing.StringAlignment.Center, 0F, System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 3.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Millimeter));
this.linearBarCode1.CaptionBelow = new Aspose.BarCode.Caption("", false, System.Drawing.StringAlignment.Center, 0F, System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 3.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Millimeter));
this.linearBarCode1.CheckSumVisible = false;
this.linearBarCode1.Code128CodeSet = Aspose.BarCode.Code128CodeSet.Auto;
this.linearBarCode1.CodeAlignment = System.Drawing.StringAlignment.Center;
//this.linearBarCode1.CodeColor = System.Drawing.Color.Black;
this.linearBarCode1.CodeLocation = Aspose.BarCode.CodeLocation.Below;
this.linearBarCode1.CodeText = "12345678";
this.linearBarCode1.CodeTextSpace = 0F;
this.linearBarCode1.EnableCheckSum = false;
this.linearBarCode1.EnableEscape = false;
this.linearBarCode1.Font = new System.Drawing.Font("Microsoft Sans Serif", 3.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Millimeter);
//this.linearBarCode1.ForeColor = System.Drawing.Color.Black;
this.linearBarCode1.ImageMargins = new Aspose.BarCode.MarginsF(1F, 1F, 1F, 1F);
this.linearBarCode1.ImageQuality = Aspose.BarCode.ImageQualityMode.AntiAlias;
this.linearBarCode1.ImageUnit = System.Drawing.GraphicsUnit.Millimeter;
this.linearBarCode1.Resolution = new Aspose.BarCode.Resolution(600F, 600F, Aspose.BarCode.ResolutionMode.Customized);
this.linearBarCode1.ResolutionPrinter = "";
this.linearBarCode1.RotationAngle = Aspose.BarCode.RotationAngle.ZeroDegree;
//this.linearBarCode1.ShowBorder = true;
this.linearBarCode1.StartSymbolOfCodabar = Aspose.BarCode.CodabarSymbol.A;
this.linearBarCode1.StopSymbolOfCodabar = Aspose.BarCode.CodabarSymbol.A;
this.linearBarCode1.SupplementData = "";
this.linearBarCode1.SupplementSpace = 1F;
//this.linearBarCode1.SymbologyType = Aspose.BarCode.Symbology.Code39Standard;
this.linearBarCode1.UPCNumberSystem = 0;
this.linearBarCode1.Width2NarrowRatio = 3F;
this.linearBarCode1.xDimension = 0.3F;
this.linearBarCode1.Resolution.DpiX = 100;
this.linearBarCode1.Resolution.DpiY = 100;