ExportImageToFile issue on Bartender 2016 R9 on Windows 2019 追蹤

Biswa Lenka

Hi, We have an issue with BT 2016 R9 on Windows 2019 Server.
template is not importing to PDF file,

string pdfFileName = filepath +pdfFilename + ".pdf";
LabelFormatDocument btFormat = "C:\template.btw"
btFormat.ExportImageToFile(pdfFileName, ImageType.PDF, ColorDepth.Mono, resolution, OverwriteOptions.Overwrite);

it is working for ImageType.JPEG, but failing to generate ImageType.PDF.

Same code works on Dev machine.

Best Regards,
Biswa Lenka