Override Stamp Folder
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, 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.
Override Stamp Folder
Is there a way we can override the Stamps folder location so if the user has your end user PDF-XChange Editor installed we don't mess up the stamps they use with that?
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Override Stamp Folder
Hello RMan,
Use this method:
https://sdkhelp.pdf-xchange.com/vi ... tStdFolder
With the PXV_StdFolder_Stamps folder ID.
Note that this method should be used on the early stage - for example after you have initialized the IPXV_Inst.
Cheers,
Alex
Use this method:
https://sdkhelp.pdf-xchange.com/vi ... tStdFolder
With the PXV_StdFolder_Stamps folder ID.
Note that this method should be used on the early stage - for example after you have initialized the IPXV_Inst.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Override Stamp Folder
Hi All,
I've tried and tried to set the stamps folder, however, it just won't take. I'm calling this method:
Here in the forum it says to call after Init but here in the documentation it says to call it before:
https://sdkhelp.pdf-xchange.com/vi ... tStdFolder
Either way (before or after) I could not get it to work. I'm using:
Am I missing something?
Thanks
I've tried and tried to set the stamps folder, however, it just won't take. I'm calling this method:
Code: Select all
pdfx.Inst.SetStdFolder(PXV_StdFolderID.PXV_StdFolder_Stamps, folder, true);
https://sdkhelp.pdf-xchange.com/vi ... tStdFolder
Either way (before or after) I could not get it to work. I'm using:
Code: Select all
pdfx.SetLicKey(key);
Thanks
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Override Stamp Folder
Hello dconner,
The IPXV_Inst instance itself should be created and initialized before the IPXV_Control if you are using one and then the Shutdown method should be used on form closing/destructor.
Then try doing it as the Wiki remark advises and see whether it will work for you.
More info here:
https://sdkhelp.pdf-xchange.com/vi ... _Inst_Init
https://sdkhelp.pdf-xchange.com/view/PXV:CoClasses
Cheers,
Alex
The IPXV_Inst instance itself should be created and initialized before the IPXV_Control if you are using one and then the Shutdown method should be used on form closing/destructor.
Then try doing it as the Wiki remark advises and see whether it will work for you.
More info here:
https://sdkhelp.pdf-xchange.com/vi ... _Inst_Init
https://sdkhelp.pdf-xchange.com/view/PXV:CoClasses
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Override Stamp Folder
Yep! That did it. Thanks for your speedy reply.
and here is my SetStampsFolder() method:
Code: Select all
PDFEditorWrapper.PDFCtrl.SetStampsFolder(@"");
PDFEditorWrapper.PDFCtrl.Init(licKey);
InitializeComponent();
pdfctrl.InitIDS();
Code: Select all
public static bool SetStampsFolder(string folder)
{
try
{
PDFXEdit.PXV_Inst Inst = new PDFXEdit.PXV_Inst();
Inst.SetStdFolder(PXV_StdFolderID.PXV_StdFolder_Stamps, folder, true);
Inst = null;
}
catch
{
return false;
}
return true;
}
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Override Stamp Folder
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ