Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   MultiResBitmap ohne Scale (https://www.delphipraxis.net/181695-multiresbitmap-ohne-scale.html)

greenmile 3. Sep 2014 11:55

MultiResBitmap ohne Scale
 
Kann ich ein TImage im Designer mit einem Bitmap füttern, das einfach nur streched ist, also ohne das Skalierungs-Gedöns? Einfach nur 100%, egal wie es anschließend aussieht? Bei MultiResBitmap wird das Bild irgendwie nur in der Höhe, nicht in der Breite angepasst (Handy im Querformat).

Darlo 3. Sep 2014 12:02

AW: MultiResBitmap ohne Scale
 
Hi, meinst du das:

Delphi-Quellcode:
image1.WrapMode := TImageWrapMode.Stretch;

greenmile 3. Sep 2014 12:14

AW: MultiResBitmap ohne Scale
 
Das war es. Danke.
:thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz