Hi,
I am looking into converting some old Tracker code to the latest release of Core Api. I could not find equivalent function that I could use for PXCV_DrawPageToDC. Is there anything in the Core Api library that I should be using? Or should I be using some other library?
One other function that i need to convert is PXC_AddEnhMetafile.
Regards,
M
PXCV_DrawPageToDC equivalent in Core Api
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 101
- Joined: Fri Sep 18, 2015 9:49 pm
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: PXCV_DrawPageToDC equivalent in Core Api
Hello mmasood,
Here's what you will need:
https://sdkhelp.pdf-xchange.com/vie ... wToIXCPage
https://sdkhelp.pdf-xchange.com/vie ... e_DrawToDC
Here's the forum thread that contains these methods usage:
https://www.pdf-xchange.com/forum3 ... 66&t=26983
Also, you can additionally search the forums (not just the Core API thread) for these methods to find more samples.
Cheers,
Alex
Here's what you will need:
https://sdkhelp.pdf-xchange.com/vie ... wToIXCPage
https://sdkhelp.pdf-xchange.com/vie ... e_DrawToDC
Here's the forum thread that contains these methods usage:
https://www.pdf-xchange.com/forum3 ... 66&t=26983
Also, you can additionally search the forums (not just the Core API thread) for these methods to find more samples.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 101
- Joined: Fri Sep 18, 2015 9:49 pm
Re: PXCV_DrawPageToDC equivalent in Core Api
Hi Alex,
I am looking into the links that you provided and will get back to you on that.
Here are a few more functions that I cannot find replacements for:
1. PXC_AddEnhMetafile
2. PXC_GetImageDimension
Looking forward for your reply.
Regards,
M
I am looking into the links that you provided and will get back to you on that.
Here are a few more functions that I cannot find replacements for:
1. PXC_AddEnhMetafile
2. PXC_GetImageDimension
Looking forward for your reply.
Regards,
M
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: PXCV_DrawPageToDC equivalent in Core Api
Hello mmasood,
Well these should be the interface that you are looking for:
https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_Image
If you look in the See Also section, there are several methods that allow adding the Image from different sources.
Cheers,
Alex
Well these should be the interface that you are looking for:
https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_Image
If you look in the See Also section, there are several methods that allow adding the Image from different sources.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 101
- Joined: Fri Sep 18, 2015 9:49 pm
Re: PXCV_DrawPageToDC equivalent in Core Api
Hi Alex,
I am currently updating the code from Pro SDK 5 to Core Api and i have looked at the code that you provided but could not get anything to work. Regarding the PXCV_DrawPageToDC function, can you please provide a sample that will do the following with the most current Core Api SDK?
1. Open a PDF file
2. Render the pages one by one to the printer
Regards,
M
I am currently updating the code from Pro SDK 5 to Core Api and i have looked at the code that you provided but could not get anything to work. Regarding the PXCV_DrawPageToDC function, can you please provide a sample that will do the following with the most current Core Api SDK?
1. Open a PDF file
2. Render the pages one by one to the printer
Regards,
M
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: PXCV_DrawPageToDC equivalent in Core Api
Hello M,
We actually have a simple Editor SDK:
https://www.pdf-xchange.com/produc ... simple-sdk
Which was specifically designed to use the same method names as the Simple Viewer SDK - so it should be pretty straight forward to port your code from the Viewer Simple SDK to the Editor Simple SDK. Have you tried that one?
Regards,
Stefan
We actually have a simple Editor SDK:
https://www.pdf-xchange.com/produc ... simple-sdk
Which was specifically designed to use the same method names as the Simple Viewer SDK - so it should be pretty straight forward to port your code from the Viewer Simple SDK to the Editor Simple SDK. Have you tried that one?
Regards,
Stefan