Autor Beitrag
tortom1000
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175

Win XP, Win Server 2003 - 2012, Win 7
Delphi 7
BeitragVerfasst: So 03.10.04 17:05 
Hallo,
wie kann man aus einen Bild, welches auf einem Formular liegt, einen Teil definiert durch X-Y-Anfang bis X-Y-Ende rauskopieren, um es dann als Datei auf die Festplatte zu speichern? :?:
Vielen Dank im Voraus
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 03.10.04 18:24 
Guck dir mal CopyRect des Canvas-Objekts an.

Für alle API-Freunde lege ich den Befehl BitBlt wärmstens ans Herz.

Genaue Erklärung:
Neues Bitmap erzeugen
Größe setzen
CopyRect Bereich kopieren
Bitmap speichern.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.