#1 Re: mORMot 1 » "canvas does not allow drawing" on SQLite3Pages » 2014-08-22 12:00:05

I managed to solve the problem.
I was calling SetPrinter after calling BeginDoc.
I changed SetPrinter to before BeginDoc and the problem stopped.

#2 mORMot 1 » "canvas does not allow drawing" on SQLite3Pages » 2014-08-20 14:01:06

flavio_vsm
Replies: 3

Hi.
When I run DrawText with a large string I got the error "canvas does not allow drawing" on line result := TMetafileCanvas.Create(Page,fPtrHdl); of function TGDIPages.CreateMetafileCanvas(Page: TMetafile): TMetafileCanvas; function.

Board footer

Powered by FluxBB