Hello again.
I must scale a ready pdf to aprox. 85%.
In the documentation i found a function PXCp_TransformPage to do this.
In Delphi the function is not declared in the unit PXCPro_40, nor the param LPCPXC_Matrix
Why? And can i have the declaration?
PXCp_TransformPage
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange
-
Lzcat - Tracker Supp
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: PXCp_TransformPage
Actually LPCPXC_Matrix is almost same as LPPXC_Matrix (pointer to PXC_Matrix structure), only one difference is that LPCPXC_Matrix may points to constant matrix. In genereal almost all LPC... declarations can be replaced with corresponding LP... declarations.
Here is PXCp_TransformPage declaration:
Here is PXCp_TransformPage declaration:
Code: Select all
function PXCp_TransformPage(pDocument: hPDF; PageNumber: DWORD; matrix: LPPXC_Matrix; flags: DWORD): HRESULT; stdcall;external xcprolib;Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
Thoni
- User
- Posts: 12
- Joined: Tue Aug 26, 2008 11:46 am
Re: PXCp_TransformPage
thanks. i will give it a try
-
John - Tracker Supp
- Site Admin
- Posts: 5225
- Joined: Tue Jun 29, 2004 10:34 am
Re: PXCp_TransformPage
Excellent.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
elponcho99
- User
- Posts: 1
- Joined: Mon Jun 11, 2012 9:16 pm
Re: PXCp_TransformPage
Hello!
Do you have the declaration statement for the PXCp_TransformPage function to use it on VB6?
Thanks in advance.
Do you have the declaration statement for the PXCp_TransformPage function to use it on VB6?
Thanks in advance.
-
Nico - Tracker Supp
- User
- Posts: 205
- Joined: Fri May 18, 2012 8:41 pm
Re: PXCp_TransformPage
Hello elponcho99,
The VB6.0 declaration for PXCp_TransformPage follows:
The VB6.0 declaration for PXCp_TransformPage follows:
Code: Select all
Public Declare Function PXCp_TransformPage Lib "xcpro40" (ByVal Doc As Long, ByVal PageNumber As Long, ByRef Matrix As PXC_Matrix, ByVal flags As Long) As Long