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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDF Continuous Doc Mode Issue

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PaulF Posted - Sep 09 2024 : 05:04:16
Hi,
I'm using continuous (ShowAllPages) PDF document mode to show the bottom of one page and the top of the following page. I then want to take a snapshot of what is presented.
I sync the PDF viewer to the Bitmap, then use DrawToTIEBitmap to draw the screenshot to another IEBitmap which I can show and save to file.
Unfortunately it only captures the bottom of the first page, the top of the following page is blank see attached image. Is there another way of capturing what is presented?
regards
Paul


  ImageEnView.PdfViewer.SyncToBitmap;

  IEBmpSnapshot := TIEBitmap.Create;
  IEBmpSnapshot.ParamsEnabled := True;
  IEBmpSnapshot.PixelFormat := ie24RGB;
  IEBmpSnapshot.Width := IERectangle(imageenview.VisibleBitmapRect).Width;
  IEBmpSnapshot.Height := IERectangle(imageenview.VisibleBitmapRect).Height;
  { Check if contains any annotation layers that should be in the snapshot. }
  if imageenview.LayersCount > 1 then
  begin
    imageenview.LayersSaveMergedTo(IEBmpSnapshot);
  end { if layers }
  else
  begin
    imageenview.IEBitmap.DrawToTIEBitmap(IEBmpSnapshot, 0, 0,
      IERectangle(imageenview.VisibleBitmapRect));
  end; { if not layers }




1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 09 2024 : 19:55:19
Hi Paul

Please email me for the latest beta which includes DrawViewTo().

Nigel
Xequte Software
www.imageen.com