> Среда, 24 сентября 2014, 15:41 +02:00 от Martin Schreiber 
 > <[email protected]>:
>> On the form of many tImage.
>> In timage1 ( bitmap.alignment.al_fit = true ) shows a scanned document .
>> timage2 must show a separate part of timage1.
>> How to do it ?
>>
> Please use tsimplebitmap.copyarea(), <destbitmap>.canvas.copyarea() or 
> tbitmap.paint(), tmaskedbitmap.paint() (recommended).
> Martin

I can't  :(  (У меня не получается)

My code:
 …
 tbitmapcomp1.Bitmap.LoadFromFile(AFileName, '', []);
 timage2.bitmap.Canvas.CopyArea(tbitmapcomp1.Bitmap.Canvas,
              makerect(10,10, 200, 100),
              makepoint(0, 0));
…

Result: 
 Exception: Invalid pixmap.

The message attached my test program.

<<attachment: paintimage.zip>>

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to