Currently I use Viewer Simple SDK Library for draw and print pdf document. It is working without problem. I want to use in future PDF-XChange Core API SDK (I want use some function like extract text). I download demo version from your site and change my code for work with these libraries, but I have problem with view or print some documents. Document has a few black rectangles in right up corner (example of like document and result of it print to pdf printer I attached).
I use DrawToDevice function for both goal. I can fix problem for view after change parameters "PXC::DDF_AsVector" to "PXC::DDF_AllFontsAsCuves" (I found in forum your text that PXC::DDF_AsVector need use only for print (but your API help has not this information)), but for print I think I can not do it because size of print job will be very big (I can not test it because as you wrote demo version add big image to document so size always big). Can you help me with fix this problem?
I use following lines for print:
CRect DrawRect(0, 0, or_prect.Width(), or_prect.Height());
pPage->DrawToDevice((PXC::HANDLE_T)pdx->hDC, DrawRect, nullptr, PXC::DDF_AsVector, nullptr, pROpt, nullptr);
- (2.37 MiB) Downloaded 10 times
- (98.33 KiB) Downloaded 9 times