Search found 30 matches

by Max SAG
Thu Dec 06, 2018 3:06 pm
Forum: PDF-XChange Core API SDK
Topic: Get the layers/OCG list and show/hide them
Replies: 9
Views: 1991

Re: Get the layers/OCG list and show/hide them

Hi Alex,

OK, thank you for your explanation.

Have a good day,
Max
by Max SAG
Thu Nov 29, 2018 5:39 pm
Forum: PDF-XChange Core API SDK
Topic: Get the layers/OCG list and show/hide them
Replies: 9
Views: 1991

Re: Get the layers/OCG list and show/hide them

Hi Alex, OK. One more question as I try to estimate the work to do before beginning the development, if we manage to identify the layer in the PDF structure using the Core API SDK, will it be possible to use the IPXC_OCContext.SetOCState method to hide/show them? Even after checking the documentatio...
by Max SAG
Tue Nov 27, 2018 1:14 pm
Forum: PDF-XChange Core API SDK
Topic: Get the layers/OCG list and show/hide them
Replies: 9
Views: 1991

Re: Get the layers/OCG list and show/hide them

Alex,

OK. I guess that IPXV_Inst::ExecuteJS is only available using the Editor API SDK?

Best regards,

Max
by Max SAG
Tue Nov 27, 2018 10:45 am
Forum: PDF-XChange Core API SDK
Topic: Get the layers/OCG list and show/hide them
Replies: 9
Views: 1991

Re: Get the layers/OCG list and show/hide them

Hi Sasha,

Thank you for your answer. Which of your SDK can interact with OCGs/OCMDs?

Best regards,

Maxime
by Max SAG
Mon Nov 26, 2018 10:50 am
Forum: PDF-XChange Core API SDK
Topic: Get the layers/OCG list and show/hide them
Replies: 9
Views: 1991

Get the layers/OCG list and show/hide them

Hi, Using the PDF-XChange Core API SDK, I'm trying to get the list of the layers of the PDF document to hide and show them calling DrawToDevice . I already saw this topic: Show/hide layers/OCG by name If I understood correctly they are called "Optional Content Groups (OCG)". Get the layers The list ...
by Max SAG
Mon Oct 02, 2017 12:37 pm
Forum: PDF-XChange Core API SDK
Topic: DrawPageToDIBSection equivalent in Core API SOLVED
Replies: 8
Views: 1129

Re: DrawPageToDIBSection equivalent in Core API SOLVED

Hi, OK thank you for the sample I understand now. My mistake was to use API from both a STA thread (the main thread) and a MTA thread. If I understand correctly, if I want to do multi-threading, I have to always use the API from a MTA thread (even the synchronous calls): Wrong way of using the API w...
by Max SAG
Fri Sep 29, 2017 12:41 pm
Forum: PDF-XChange Core API SDK
Topic: DrawPageToDIBSection equivalent in Core API SOLVED
Replies: 8
Views: 1129

Re: DrawPageToDIBSection equivalent in Core API SOLVED

Hi, Do you think that it's bug in the Core API SDK or a mistake I made using the API in the other thread? I tried to look for this exception using COM objects in a multi-thread context but I can't find a solution to this problem (apart from the MTA apartment state which does not solve the problem fo...
by Max SAG
Thu Sep 28, 2017 2:57 pm
Forum: PDF-XChange Core API SDK
Topic: DrawPageToDIBSection equivalent in Core API SOLVED
Replies: 8
Views: 1129

Re: DrawPageToDIBSection equivalent in Core API SOLVED

I tried both, ApartmentState.STA and ApartmentState.MTA but I always get the same error. With the old Viewer Simple DLL SDK, I called the PXCV_DrawPageToDIBSection in a STA apartment thread.

Regards,

Max
by Max SAG
Thu Sep 28, 2017 1:44 pm
Forum: PDF-XChange Core API SDK
Topic: DrawPageToDIBSection equivalent in Core API SOLVED
Replies: 8
Views: 1129

Re: DrawPageToDIBSection equivalent in Core API SOLVED

Hi, Thank you for the quick answer. I started to update my code but I encounter an error using the Core API with multiple threads : System.Runtime.InteropServices.COMException occurred ErrorCode=-2147352568 HResult=-2147352568 Message=Bad variable type. (Exception de HRESULT : 0x80020008 (DISP_E_BAD...
by Max SAG
Fri Sep 22, 2017 4:41 pm
Forum: PDF-XChange Core API SDK
Topic: DrawPageToDIBSection equivalent in Core API SOLVED
Replies: 8
Views: 1129

DrawPageToDIBSection equivalent in Core API SOLVED

Hi, I want to update my code using the Viewer Simple DLL SDK to the new Core API SDK to solve our problem described here . We currently have a Core API SDK license. I only need the PXCV_GetPagesCount, PXCV_GetPageDimensions and PXCV_DrawPageToDIBSection methods. Which solution is the best: Use the C...
by Max SAG
Fri Jan 20, 2017 4:36 pm
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi Will,

Thanks for the quick answer, I'll check with my boss and the Tracker sales service.

Best regards,

Max
by Max SAG
Fri Jan 20, 2017 3:46 pm
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi,

I noticed that our license for the Viewer Simple DLL SDK does not work with the (fixed) PDF Editor Simple SDK. So we can't use it in our products. Do you plan to apply the correction to the Viewer Simple DLL SDK?

Best regards,

Max
by Max SAG
Thu Jan 05, 2017 8:07 am
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi Ivan, Sorry yes, I mean PDFXEditSimple.x86.dll. Indeed, the fixed version is working well. I do not encounter the AccessViolationException anymore, it consumes much less memory than the one I used and seems a lot faster. Should I wait for the official release to include it in our project or shoul...
by Max SAG
Wed Jan 04, 2017 4:43 pm
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi, Thank your for the link, I downloaded the PDFXEditCore.x86.dll from the DevRelease.x32 and renamed it pxcview.dll. I can call the PXCV_DrawPageToDIBSection method but it always return the following error code: -2113732607, which I cannot find in the list of the known errors list . I think you ca...
by Max SAG
Wed Jan 04, 2017 9:23 am
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi Ivan, Thank you for your time. I have just returned from holidays and I can't download the PDF Editor Simple DLL you sent me anymore. Should I try the current version (6.0.319.0) available on the website: https://www.tracker-software.com/product/pdf-xchange-editor-simple-sdk ? I don't think that ...
by Max SAG
Fri Dec 23, 2016 9:43 am
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

Re: System.AccessViolationException using PXCV_DrawPageToDIB

Hi Ivan, Thank you for your answer. Can you please send us your sample app that demonstrates the problem? I have made a sample you can try right here: https://sgmail.scriptandgo.com/owncloud/index.php/s/hEr43zRVbgKo21F Can I send you the password for the download and the archive by mail, because the...
by Max SAG
Fri Dec 16, 2016 9:43 am
Forum: PDF-XChange Viewer SDK
Topic: System.AccessViolationException using PXCV_DrawPageToDIBSect
Replies: 15
Views: 2257

System.AccessViolationException using PXCV_DrawPageToDIBSect

Hi, I encounter an issue with the PXCV_DrawPageToDIBSect (pxcview.dll v2.5.311.0) method in a WPF project (C#, .NET 4.0). If I call the method in two different threads in parallel on a complex documents and its copy (let's say pdfDocument.pdf and pdfDocument - Copy.pdf , an AccessViolationException ...
by Max SAG
Fri Apr 15, 2016 4:36 pm
Forum: PDF-Tools 4
Topic: "Invalid xref table" using PXCp_ReadDocumentW
Replies: 5
Views: 2630

Re: "Invalid xref table" using PXCp_ReadDocumentW

Hi Stefan,

Indeed, our customer did not send us copies of the same files he uses. They must have been corrupted on his side.
My apologies for wasting your time.

Best regards,

Max
by Max SAG
Thu Apr 14, 2016 4:59 pm
Forum: PDF-Tools 4
Topic: "Invalid xref table" using PXCp_ReadDocumentW
Replies: 5
Views: 2630

Re: "Invalid xref table" using PXCp_ReadDocumentW

Hi Stefan, Thanks for your reply. Indeed, we tried to reproduce the problem with copies of the same files. But I doubt that copying and sending us the files could have "corrected" them. But I'll check with him if the files could have been corrupted on his tablet only (due to the Antivirus, a failed ...
by Max SAG
Thu Apr 14, 2016 3:10 pm
Forum: PDF-Tools 4
Topic: "Invalid xref table" using PXCp_ReadDocumentW
Replies: 5
Views: 2630

"Invalid xref table" using PXCp_ReadDocumentW

Hi, We are using the PDF-Tools SDK and one of our customer encounters an issue with the XCPro40 library (4.0.311.0) in a WPF project (C#/XAML, .Net 4.0, x86) with one of our application. We can not reproduce the issue on our side with the same PDF files our customer uses. But it happens every time o...
by Max SAG
Wed Jan 27, 2016 3:21 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Invalid argument using PXCp_ET_GetElement
Replies: 5
Views: 2452

Re: Invalid argument using PXCp_ET_GetElement

Hi,

Awesome, works like a charm, thanks a lot.
It's very similar to the C++ example after all...
My PXCp_ET_GetElement and PXP_TextElement declarations were wrong, my bad.

Regards,

Max
by Max SAG
Thu Jan 21, 2016 11:19 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Invalid argument using PXCp_ET_GetElement
Replies: 5
Views: 2452

Re: Invalid argument using PXCp_ET_GetElement

Hi,

Ok, thanks for your time, I'll wait for your sample.

Regards,

Max
by Max SAG
Fri Jan 15, 2016 4:07 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Invalid argument using PXCp_ET_GetElement
Replies: 5
Views: 2452

Invalid argument using PXCp_ET_GetElement

Hi, I'm using the PDF-Tools SDK and I encounter an issue with the XCPro40 library (4.0.311.0) in a WPF project (C#/XAML) in Visual Studio 2012. Using the "ExtractTextToOtherPDFDocument" sample of the PXCp_ET_AnalyzePageContent documentation page , the PXCp_ET_GetElement method always returns the cod...
by Max SAG
Wed Sep 30, 2015 4:57 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to "really" crop a PDF page
Replies: 3
Views: 1924

Re: How to "really" crop a PDF page

Ok, thanks for the quick answer!
by Max SAG
Wed Sep 30, 2015 3:17 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to "really" crop a PDF page
Replies: 3
Views: 1924

How to "really" crop a PDF page

Hi, I'm using the PDF-Tools SDK v4 (DLL version is 4.0.311.0) in a WPF project (C#, XAML, .net 4.0). I was wondering if there was a way to "really" crop a PDF file. I'm aware of the PXCp_PageSetBox method of xcpro40.dll. It works great but it only changes the crop box of the PDF page. The "drawback"...
by Max SAG
Tue Jan 20, 2015 8:34 am
Forum: PDF-XChange Viewer SDK
Topic: Licenses and deployment SOLVED
Replies: 3
Views: 1384

Re: Licenses and deployment SOLVED

Hi,

Thank you for your answer. I got more details about the licenses with sales@tracker-software.com.

Best regards,

Max
by Max SAG
Thu Jan 08, 2015 1:08 pm
Forum: PDF-XChange Viewer SDK
Topic: Licenses and deployment SOLVED
Replies: 3
Views: 1384

Licenses and deployment SOLVED

Hi, As I wrote in a previous thread , I've tested the PDF-XChange Viewer Simple DLL SDK for a WPF application. It works fine and our company is about to buy licenses to use it in our applications (maybe some of the following questions should be sent to sales@tracker-software.com). We still have some...
by Max SAG
Fri Nov 07, 2014 9:41 am
Forum: PDF-XChange Viewer SDK
Topic: WPF Viewer Control
Replies: 5
Views: 1445

Re: WPF Viewer Control

Hi, Thanks you again for your answers, I did not get back to you but I managed to create a quite responsive multithreaded WPF viewer with the simple viewer SDK. For those interested, I used the DrawPageToDIBSection method (documentation here http://help.tracker-software.com/DEV/default.aspx?pageid=V...
by Max SAG
Thu Oct 30, 2014 3:36 pm
Forum: PDF-XChange Viewer SDK
Topic: WPF Viewer Control
Replies: 5
Views: 1445

Re: WPF Viewer Control

Thanks for the quick answer. What do you mean by "DC"? I have already downloaded the SDK. Can you be more precise about the class or the method to use? Isn't it the function used in this post ( http://www.tracker-software.com/forum3/viewtopic.php?f=36&t=22388 ) : PXCV_DrawPageToIStream, with other R...
by Max SAG
Thu Oct 30, 2014 11:03 am
Forum: PDF-XChange Viewer SDK
Topic: WPF Viewer Control
Replies: 5
Views: 1445

WPF Viewer Control

Hi everyone, For the record, I'm using Windows 8.1 and Visual Studio 2012 in a WPF application targeting the .NET framework 4.5. I know that WPF developments aren't your main priority, but I'm currently evaluating the last PDF-XChange Viewer SDK to use your viewer in a WPF application, because your ...