Autor Beitrag
mega
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46

Win XP
D3 Prof
BeitragVerfasst: Mi 14.06.06 12:01 
Hallo, ist es irgendwie möglich, einer Image-Komponenete eine andere größe zuzuwiesen, mit .width geht das nicht (wenns größer sein soll, als beim Canvas.Create wird es nicht größer. Der Wert wird aber gesetzt und lässt sich auch Abfragen).

mit der Eigenschaft Stretch wird es zwar größer, aber man bekommt zum malen nicht mehr Pixel. (Es wird verzerrt).

Was beim größe ändern mit dme Bildinhalt passiert, ist egal, der wird vom Programm dann eh neu gezeichnet. Am besten sollte der alte Inhalt einfach weg.
Neidhard von Reuental
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Mi 14.06.06 12:07 
Die Image-Komponente stellt nur eine Grafik dar. Wenn du den Inhalt des Images vergroßern willst, mußt du also den Inhalt(Grafik) vergrößern.
mega Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46

Win XP
D3 Prof
BeitragVerfasst: Mi 14.06.06 12:11 
Und wie?

Ich will ja dann größer Zeichnen, man sieht aber den Rest einfach nicht.

Und der weisse Hintergrund von dme ding wird auch nicht größer.

In richtung kleienr scheiben klappt das ja. Und wenn man das dann wieder groß zieht, wird die Mal-Fläsche auch wieder größer, aber nur soweit, wie es am Anfang mal war.
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Mi 14.06.06 14:06 
sollte eigentlich so gehen:

ausblenden Delphi-Quelltext
1:
Image1.Picture.Graphic.Width := 100;