Browse Source

Add png 'example'.

Martijn Laan 2 weeks ago
parent
commit
b0a460909b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Examples/CodeClasses.iss

+ 1 - 0
Examples/CodeClasses.iss

@@ -348,6 +348,7 @@ begin
   
   
   BitmapImage := TBitmapImage.Create(Page);
   BitmapImage := TBitmapImage.Create(Page);
   BitmapImage.AutoSize := True;
   BitmapImage.AutoSize := True;
+  { Use BitmapImage.PngImage.LoadFromFile to load .png files }
   BitmapImage.Bitmap.LoadFromFile(BitmapFileName);
   BitmapImage.Bitmap.LoadFromFile(BitmapFileName);
   BitmapImage.Parent := Page.Surface;
   BitmapImage.Parent := Page.Surface;