Home
Info
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
PDF pages count
New Topic
Reply to Topic
Author
Topic
graph_man
326 Posts
Posted - May 28 2021 : 11:46:46
Please advise a 100% working way to learn the number of pages in a PDF file.
IEGetFileFramesCount doesn't work (result is 0).
xequte
38180 Posts
Posted - May 31 2021 : 03:27:20
Hi
What version of ImageEn are you using? What plug-in are you using for PDF read support?
Nigel
Xequte Software
www.imageen.com
graph_man
326 Posts
Posted - May 31 2021 : 08:18:22
> What version of ImageEn are you using?
I am using 9.2.0, but can install the latest.
> What plug-in are you using for PDF read support?
GhostScript. Are there other variants?
xequte
38180 Posts
Posted - May 31 2021 : 19:15:49
Hi
10.0.0 and newer support our new PDFium plug-in:
https://www.imageen.com/download/
You can also use WPCubed's plug-in:
https://www.imageen.com/wpviewpdf/
Both will give much more accurate IEGetFileFramesCount. Otherwise it cannot get the frame count from compressed or encrypted files.
Nigel
Xequte Software
www.imageen.com
graph_man
326 Posts
Posted - Jun 01 2021 : 12:29:04
Is PDFium free?
xequte
38180 Posts
Posted - Jun 01 2021 : 20:20:04
Yes, it is.
Nigel
Xequte Software
www.imageen.com
graph_man
326 Posts
Posted - Jun 04 2021 : 08:29:41
There is issue after installing 10.0.1 version:
[BCC32 Error] ws2def.h(670): E2015 Ambiguity between 'SIZE_T' and 'Iexpdfiumlib::SIZE_T'
Failed
ps
C++Builder 2010
graph_man
326 Posts
Posted - Jun 04 2021 : 08:36:55
ws2def.h(670):
typedef struct _WSACMSGHDR {
SIZE_T cmsg_len;
INT cmsg_level;
INT cmsg_type;
/* followed by UCHAR cmsg_data[] */
} WSACMSGHDR, *PWSACMSGHDR, FAR *LPWSACMSGHDR;
graph_man
326 Posts
Posted - Jun 04 2021 : 09:43:49
How to use PDFium plug-in?
Need something also besides ImageEn?
Do I need to use additional DLLs?
Since after installing the latest version, the program still does not determine the number of pages in pdf.
xequte
38180 Posts
Posted - Jun 04 2021 : 19:48:51
Hi
What is ws2def. Is that one of your units?
To use PDFium you also need to download the DLL and put it in your EXE folder:
https://www.imageen.com/download/
Nigel
Xequte Software
www.imageen.com
graph_man
326 Posts
Posted - Jun 05 2021 : 07:28:38
> What is ws2def. Is that one of your units?
Windows, WinSock
> To use PDFium you also need to download the DLL and put it in your EXE folder:
Thanks
xequte
38180 Posts
Posted - Jun 06 2021 : 04:36:40
Hi
For the next update we have changed the variable declaration of SIZE_T.
Nigel
Xequte Software
www.imageen.com
graph_man
326 Posts
Posted - Jun 07 2021 : 06:18:43
Thanks
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page