Input XPS document: A 5-page printout of C# code, printed from Visual Studio 2008 through the Microsoft XPS Document Writer. Output PDF document: A 1-page blank document. The only content is the text 'Hello World!' with no font specified (so as to use the default). Input XPS document: A 1-page simple document I created for text purposes. Output PDF document: A 2-page document however, each page is blank - except for a small, solid black rectangle in the upper left corner of each page, and except that the image in the header appears on both pages in the right spot.
Input XPS document: A 2-page document generated by my application, which consists entirely of tables and text, save for an image in the header. Stream pdf = File.Create('PdfDocument.pdf') ĭoc.Save(pdf, IacFileSaveOption.acFileSaveView) Īnd here are the trials I conducted, and the results: Code: Select all acPDFCreatorLib.Initialize()