ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 The PageIndex of TIEPdfViewer has a bug
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

foxdingding

80 Posts

Posted - Nov 22 2025 :  21:53:50  Show Profile  Reply


procedure TForm25.DoPage(H_Pdf:TIEPdfViewer);
Begin
   Self.Caption:='--Load--';
   H_Pdf.LoadFromFile('C:\Temp\IenBug\UniGUI.pdf');
   For Var I:=0 to H_Pdf.PageCount-1 do
       H_Pdf.PageIndex:=I;
   Self.Caption:='--OK--';
End;

procedure TForm25.BitBtn1Click(Sender: TObject);
begin
    Var ien:=TImageEnView.Create(Nil);
    Try
        ien.PdfViewer.Enabled := True;

        DoPage(ien.PdfViewer);//is OK#65281;
    Finally
       ien.Free;
    End;
end;

procedure TForm25.BitBtn2Click(Sender: TObject);
begin
    Var PdfViewer:=TIEPdfViewer.Create();
    Try
        DoPage(PdfViewer);//Bug  H_Pdf.PageIndex:=I;
    Finally
       PdfViewer.Free;
    End;
end;

foxdingding

80 Posts

Posted - Nov 22 2025 :  21:57:38  Show Profile  Reply
64Bit
Delphi 13
IEN=V14.2.7




Go to Top of Page

xequte

39298 Posts

Posted - Nov 23 2025 :  21:59:05  Show Profile  Reply
Hi

Thank you for the report. Please email me for the latest beta which fixes this.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: