We are generating a document using WriteBox() with a PenColor of white. This allows us to easily align text onto the columns of pre-printed forms; we can simply measure the width of the columns and use that measure directly. If we use Write() then we have to fiddle with the measures to obtain the desired effect.
Recently a customer asked us to include an image within the .vpe document in order to print onto a white sheet of paper as opposed to a pre-printed form. We used WriteBox() to print our text and then added the picture with the PIC_MERGE flag. The image is properly placed on top of the text and the white boxes do not show up; this is exactly what we wanted. However if we save this .vpe document as a .pdf then the image completely overwrites the text. It feels as though the PDF conversion is not taking into account (ignoring) the PIC_MERGE flag.