Page 1 of 1

TPrintPreview EOutOfResources or Invalid Metafile

PostPosted: March 4th, 2014, 6:46 pm
by LadyHelpless
Hi,

I have a StringGrid with over 100000 lines. Out of it I must generate ca. 9000 pages (Primary with Preview.canvas.textout and some lines).

Moving the thumbnails or exporting as PDF the error "EOutOfResources" or "Invalid Metafile" occurs.

Is there any possibility to prevent that ?


Best regards
Regina

Re: TPrintPreview EOutOfResources or Invalid Metafile

PostPosted: March 5th, 2014, 8:02 pm
by Kambiz
Hi,

The component uses the 4 bytes address pointer to cache/store raw page data. Apparently the content of you data goes beyond this address space.