"Seagull.BarTender.Print, Version=11.1.4.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7"
good time. I 'm trying to work with a file .btw. After starting the program, I get an error(Failed to upload a file or assembly "Seagull.BarTender.Print, Version=11.1.4.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7" or one of their dependencies. An attempt was made to download a program that has an incorrect format.) How can this problem be solved? I work with .Net framework 4.8
My code
private void PrintBoxLabel(string gtin, string id, string netto, string brutto, string packInBox, string ml)
{
var lb = @"C:\Документ1.btw";
using (Engine engine = new Engine(true))
{
LabelFormatDocument btformate = engine.Documents.Open(lb);
btformate.SubStrings["qqq"].Value = "вадлвалоолкокакак";
btformate.SubStrings["qqqq"].Value = "395748394857483393857584";
btformate.PrinterCodeTemplate.Performance.AllowSerialization = false;
btformate.ExportImageToClipboard(Seagull.BarTender.Print.ColorDepth.ColorDepth256, new Resolution(200));
engine.Stop();
}
}
請登入寫評論。
評論
0 條評論