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
 Load a multipage PDF and show all pages together in IE
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
743 Posts

Posted - Aug 25 2026 :  05:25:04  Show Profile  Reply
Hello,

When user opens a PDF which is loaded in Imageen if there are multiple page the I want to give users a way to load and show the number of pages together. Here user will have to select from a dropdown where I want to give following options:
1 Page
2 Pages
4 Pages

I checked the docs but could not find anything that allows me to load & show these pages together.

I did find a boolean property called `ShowAllPages` but this does not suffice my needs as I want to give user the control and also allow them to decide on the pages arrangement like 2 side-by-side, Group of 4.

TIA

Yogi Yang

xequte

39520 Posts

Posted - Aug 25 2026 :  22:10:25  Show Profile  Reply
Hi Yogi

The only way to do this with ImageEn is to use a TImageEnMView. If you email me for the latest beta, you can easily display in layouts like 2x2 using:

const
  HORZ_COUNT = 2;
  VERT_COUNT = 2;
begin
  ImageEnMView1.LockUpdate();
  try
    ImageEnMView1.GridWidth   := -1;
    ImageEnMView1.ThumbWidth  := -1 * HORZ_COUNT;
    ImageEnMView1.ThumbHeight := -1 * VERT_COUNT;
    ImageEnMView1.ScrollBars := ssVertical;
    ImageEnMView1.LoadFromFileOnDemand( 'D:\MultiPageDoc.pdf' );
  finally
    ImageEnMView1.UnlockUpdate();
  end;
end;


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