Clipboard Image Barcode Hiding Follow
I have a label that contains a list of barcodes. If their related SubString value is "0" I hide the barcode via a VB Script attached to the OnNewRecord Event for example:
If Format.NamedSubStrings("Qty2").Value = "0" Then Objects("Bar Code 2").PrintVisibility = False End If
That all works fine when I print the barcode in C#. For example:
Result result = document.Print(string.Format("", txtCaseLabelRunID.Text), out messages);
However, when I render the same document to the Clipboard the same barcode is still visible. For example:
document.ExportImageToClipboard(Seagull.BarTender.Print.ColorDepth.Mono, new Resolution(pictureBox.Width, pictureBox.Height));
I've tried some other approaches, setting the X location, etc. without success.
Is there some way to control visability of label objects when rendering them to the clipboard?
Please sign in to leave a comment.