Firstly thanks for great component.
Is there anyway to resize currently shown image?
I'm currently resizing image in "LoadNext" function. Like this way:
- Code: Select all
if CreateCustomButton1.Enabled = True then //if custom show is enabled then load images from there.
begin
P := TPicture.Create;
try
P.LoadFromFile(PicPath + LoadedImage);
CopyGraphicToBitmap(P.Graphic, PicShow.Picture.Bitmap,
PicShow.Width, PicShow.Height, True);
finally
P.Free;
end;
end;
So if user resizes window then he/she gets resized picture after one loaded picture.