I am evaluating the viewer DLL alongside a similar product (foxit).
After several tests and measurements, it seems that the xtrack dll is at least 3 times slower in higher DPIs (e.g. exporting at 300dpi or ~300% zoom). Is there a possibility that I am using the PXCV_DrawPageToDIBSection() wrongly?
Here is my (delphi) code:
Code: Select all
r := Types.Rect(0, 0, w, h);
pParams.WholePageRect := @r;
pParams.DrawRect := nil;
pParams.Flags := pxvrpf_Rotate_NoRotate OR $0040;
pParams.RenderTarget := pxvrm_Exporting;
Res := PXCV_DrawPageToDIBSection(pDocument, PageNum, @pParams, 0, $00ffffff, @bmp, 0, 0);
...
TIA
Costas