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
 Double versions of PdfViewer.PageWidth/PageHeight
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

xequte

38682 Posts

Posted - Nov 14 2022 :  00:33:59  Show Profile  Reply
If you need more accuracy than PdfViewer.PageWidth/PageHeight you can use:

// Get precise page sizes in PDF points (One point is 1/72 inch or around 0.3528 mm)
ww := ImageEnView1.PdfViewer.CurrentPage.Width;
hh := ImageEnView1.PdfViewer.CurrentPage.Height;


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