Search found 168 matches

by relapse
Wed Apr 10, 2013 7:56 am
Forum: PDF-XChange Viewer SDK
Topic: PDF-XChange Editor
Replies: 3
Views: 1872

Re: PDF-XChange Editor

Hi, sorry for my impatience but I'm curious when the SDK for your Editor will come.
by relapse
Mon Feb 11, 2013 6:50 am
Forum: PDF-XChange Viewer SDK
Topic: Screenshot of a current page
Replies: 1
Views: 1675

Screenshot of a current page

Hi! I'd like to make a snapshot of an actual page but only of its visible part. How could I get the coordinates of that area?

Thanks for your replies!
by relapse
Wed Jan 23, 2013 4:20 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, Ivan! I've read in your post your statement that "using a printer to convert an existing PDF to a PDF never is/was a good idea". 1) Can YOU advise me another way to convert a PDF? 2) Enclosed you will find in my attachment an illustration of a phenomenon I've found converting a pdf wit...
by relapse
Fri Jan 04, 2013 1:41 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! :D I've discovered the following phenomenon. I've tried to convert a pdf document including vector graphics into a BW one printing it into a file (as it's described above). Then I found out that the vector graphics were converted into a bitmap (I suppose it's so) with a quality loss (please see ...
by relapse
Wed Jan 02, 2013 2:12 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF-XChange Editor
Replies: 3
Views: 1872

PDF-XChange Editor

Hi! Maybe I'm too fast, but I'd like to know when the PDF-XChange Editor SDK will be available. I'm testing the end user free version I've downloaded from this link: https://www.pdf-xchange.com/PDFXVE3.zip In the application directory of the new PDF Editor I've found the PDFXEditCore.x64.dll file. C...
by relapse
Thu Dec 20, 2012 7:50 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I've found the differences between your code and mine in the sample program. These were commands setting the DevMode properties. I've altered my true program a little bit and tested it. Now it works! Thanks a lot! I'm really happy now! :D :D :D These are my code snippets (C#) in the last variant...
by relapse
Mon Dec 17, 2012 6:46 am
Forum: PDF-XChange Viewer SDK
Topic: Context menu over rulers
Replies: 5
Views: 2234

Re: Context menu over rulers

Hi, Vasyl! It functions perfectly, thank you very much! :D
by relapse
Fri Dec 14, 2012 4:10 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, I've installed these packages on a new virtual machine: PDF-Tools 4 SDK PDF-XChange 5 API PDF-XChange Viewer SDK In the application directory of my program I have amongst others the following dll's: AxInterop.PDFXCviewAxLib.dll 1.0.0.0 05.01.2012 Interop.PDFXCviewAxLib.dll 1.0.0.0 05.01.2012 Int...
by relapse
Fri Dec 14, 2012 1:21 pm
Forum: PDF-XChange Viewer SDK
Topic: Context menu over rulers
Replies: 5
Views: 2234

Re: Context menu over rulers

Yes, Stefan, you are right, as always, I do need the rulers (but without the context menu). :D
by relapse
Fri Dec 14, 2012 12:27 pm
Forum: PDF-XChange Viewer SDK
Topic: Context menu over rulers
Replies: 5
Views: 2234

Context menu over rulers

Hi! Starting my program I forbid all context menus using the method

Code: Select all

SetProperty("General.DenyAllContextMenus", 1)
This seems not to be applicable to the context menu over the rulers. How could I disable that one?


Thanks for your replies!
by relapse
Fri Dec 14, 2012 12:16 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! Sorry for my long silence. I'll try to install all the things on a new virtual machine in order to test it properly. Thanks a lot for your reply. I'll surely inform you about my results.
by relapse
Thu Nov 29, 2012 2:22 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: "name" property in PXCp_AddLineAnnotationW?
Replies: 6
Views: 3798

Re: "name" property in PXCp_AddLineAnnotationW?

Hi, Stefan! Thanks a lot for your detailed information!
by relapse
Thu Nov 29, 2012 8:56 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: "name" property in PXCp_AddLineAnnotationW?
Replies: 6
Views: 3798

Re: "name" property in PXCp_AddLineAnnotationW?

So, I should directly create an annotation line with the Low Level API otherwise I couldn't find the annotation again that I'd created with the PXCp_AddLineAnnotationW method. Is that right? Could you eventually extend the PXCp_AddLineAnnotationW method so that one can also define the name property ...
by relapse
Wed Nov 28, 2012 7:40 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: "name" property in PXCp_AddLineAnnotationW?
Replies: 6
Views: 3798

"name" property in PXCp_AddLineAnnotationW?

Hi! I tried to find a possibility to set the name property for a line annotation, which I created with the function PXCp_AddLineAnnotationW but found nothing of the kind. Is it so?


Thanks for your replies!
by relapse
Fri Nov 23, 2012 2:27 pm
Forum: PDF-XChange Viewer SDK
Topic: Detecting whether an annotation is selected or deselected
Replies: 3
Views: 1656

Re: Detecting whether an annotation is selected or deselecte

Hi! I've tried your code sample and I detected that after the command: PDFXCviewAxLib.IPDFXCargs outArgs = (PDFXCviewAxLib.IPDFXCargs)selectedAnnotPageAndIndexOnPage; no code is executed. So I've modified it a little bit this way: if ((e.type == 4) && (e.name.Equals("Notifications.Selec...
by relapse
Wed Nov 21, 2012 3:28 pm
Forum: PDF-XChange Viewer SDK
Topic: Detecting whether an annotation is selected or deselected
Replies: 3
Views: 1656

Detecting whether an annotation is selected or deselected

Hi! How can I detect it? I already can test whether an annotation is selected: pdfViewer.SetProperty("Notifications.Selection.Filter", -1, 0); if (e.name.Equals("Notifications.Selection")) { AnnotIsSelected = true; } But how could I get a message from the viewer when the selected...
by relapse
Mon Nov 19, 2012 7:28 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Sorry but it doesn't help :( Maybe I've installed something wrong.
by relapse
Thu Nov 15, 2012 1:01 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I've just installed the last build of the viewer SDK (2.5.207 instead of 2.5.205) but it doesn't function. Maybe the bug fix isn't yet in that version?
by relapse
Thu Nov 08, 2012 6:36 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi Stefan. I'm glad to hear that, it's a good feeling to help improving your product. P.S. I've read my messages once more and came to conclusion that it may be not distinct enough what the problem was :D. The only thing I was irritated with was the size of the original object in the converted docum...
by relapse
Wed Nov 07, 2012 1:44 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Thanks, Stefan! I've noticed that if the DevMode block is commented out it affects some little difference in the converted file. Please see the screenshots in the attachment.
by relapse
Wed Nov 07, 2012 1:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I assembled a test application on the base of your "FullDemo" sample, because it was the quickest solution. The files are in the attachment. Thanks a lot once more!
by relapse
Wed Nov 07, 2012 10:54 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! Thanks for your effort! I'll try to assemble such a sample project but it will take some time.
by relapse
Mon Nov 05, 2012 3:20 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, I've tried to set printing preferences as you advised me. All I achieved you can see in the attachment. Can you recommend me something else? Thanks! private void GrayscaleConversion() { const int decimalFactor = 10; PDFPrinter.SetAsDefaultPrinter(); bPXCPrinterDefault = true; PDFPrinter.Option[&...
by relapse
Mon Nov 05, 2012 6:58 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I've recently tested my program only with an A4 document, it functions perfectly, but now testing it with documents of other sizes I discovered again that I have the problem as the converted document has other size as I set it in my source code. I'm at a loss now as it's functioned already perfe...
by relapse
Fri Nov 02, 2012 9:10 am
Forum: PDF-XChange Viewer SDK
Topic: Suppress loading all system fonts while starting the viewer
Replies: 1
Views: 1460

Suppress loading all system fonts while starting the viewer

Hi! Can I programmatically bar the PDFXChange Viewer from loading/parsing all system fonts on each start?

Thanks for your replies!
by relapse
Fri Nov 02, 2012 8:56 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I surely can print a loaded file using the command (related to my last message) pdfViewer.PrintDocument(_documentId, PXCVA_Flags.PXCVA_NoUI); where the second parameter disables the user interface e.g. the save dialog. The destination file is to be defined as follows: PDFPrinter.Option["Sav...
by relapse
Wed Oct 31, 2012 3:00 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, Stefan! Thanks for your quick reply! If I don't want to have a viewer .exe in my application directory, could I print a loaded document to a temporary file with the viewer library? If I could, then I need a possibility to define the destination file, but I haven't found any for the PrintDocument...
by relapse
Wed Oct 31, 2012 1:45 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I'm trying to print a pdf file grayscaling it. I've achieved it but now I have a new problem trying to extend the present functionality. The new issue is the source and the destination files should be the same one (is it possible at all or should I use a temporary copy of the source file?) and s...
by relapse
Fri Oct 26, 2012 1:15 pm
Forum: PDF-XChange Viewer SDK
Topic: Crop White Space using PDF Tools SDK
Replies: 48
Views: 16445

Re: Crop White Space using PDF Tools SDK

Hi! I've found the error which resulted in incorrect coordinates of CropBox but only by the elements with curves. It was the PXV_CommonRenderParametersFlags.pxvrpf_UseVectorRenderer flag of the PXV_CommonRenderParameters structure which I use during the export of the pdf to a bitmap! I ceased using ...
by relapse
Wed Oct 24, 2012 12:47 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, Stefan! I've found the missing DLL, but in the sample directory of PDF-XChange 5 API: C:\Program Files\Tracker Software\PDF-XChange 5 API\Examples\Bin\C#\Interop.PXCComLib.dll Why is it absent in the directory of PDF-XChange PRO 4 SDK? I installed that package copmletely with all samples. Could ...
by relapse
Wed Oct 24, 2012 6:44 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I have a question: Can I use PDF-XChange 5 API as a full version if I possess a license for PDF-XChange PRO 4 SDK? P.S. I tested the conversion of a pdf to a grayscale document with the sample project of PDF-XChange 5 API (test version). Now I want to test it with the full version of PDF-XChange...
by relapse
Fri Sep 28, 2012 6:47 am
Forum: PDF-XChange Viewer SDK
Topic: Redistribution
Replies: 6
Views: 3195

Re: Redistribution

Hi! I've tried both with registration and without it (using manifest files) - no result. I took the files to register ActiveX in command line: PDFXCview.exe PDFXCviewAx.dll Resource.dat from C:\Program Files\Tracker Software\PDF-XChange Viewer SDK\Bin (it's a 32-bit machine where I'm trying to insta...
by relapse
Thu Sep 27, 2012 2:49 pm
Forum: PDF-XChange Viewer SDK
Topic: Redistribution
Replies: 6
Views: 3195

Re: Redistribution

Do you mean whether I use the serial number and the developer code with the SetDevInfo method of the Viewer in my program code? Yes, I do.
by relapse
Thu Sep 27, 2012 2:03 pm
Forum: PDF-XChange Viewer SDK
Topic: Redistribution
Replies: 6
Views: 3195

Redistribution

Hi! I have a new issue: I'd like to install my program on another machine. Currently it doesn't function, I'm getting an error message "The image format is not recognized", but I still can't localize it. I suppose this behavior depends on the fact that not all components are installed on t...
by relapse
Thu Sep 27, 2012 6:16 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, Stefan! You are the best :D as usual. But one more question on the documentation of the PDF-XChange Drivers API, I use the file Books-PDF-XChange-Drivers-API.pdf. I found no reference to the section of DevMode! Why? Is there another documentation for your drivers API? Thank you very much for you...
by relapse
Wed Sep 26, 2012 3:05 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Sorry, I couldn't reply earlier. It seems to have no effect. I place here one more time my code: PDFPrinter.SetAsDefaultPrinter(); bPXCPrinterDefault = true; PDFPrinter.Option["Graphics.Color.Convert.Method"] = 1; PDFPrinter.Option["Graphics.Color.Downsample.To"] = 300; PDFPrinte...
by relapse
Tue Sep 25, 2012 2:07 pm
Forum: PDF-XChange Viewer SDK
Topic: Activating an annotation
Replies: 3
Views: 1929

Re: Activating an annotation

Thanks a lot, it functions!

Code: Select all

object dataOut;
object objectName = null;
pdfViewer.DoDocumentVerb(docId, objectName, "SelectAnnot", "NameOfAnnotation", out dataOut);
by relapse
Tue Sep 25, 2012 12:29 pm
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! Executing the command

Code: Select all

PDFPrinter.Option["DevMode.CPapSize"] = 256;
I get an ArgumentException that informs me that the value (I guess the value of the argument) is out of range.
by relapse
Mon Sep 24, 2012 3:26 pm
Forum: PDF-XChange Viewer SDK
Topic: Activating an annotation
Replies: 3
Views: 1929

Activating an annotation

Hi! My question is: Could I activate an annotation without clicking on it, simulating a click event? The background is: I have a toggle button which creates/deletes a selection area on loaded pdf document. The PDFViewer is a user control on my form. I'd like to have that selection area marked up (it...
by relapse
Mon Sep 24, 2012 9:08 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! Sorry, I was ill last week, and I couldn't post my reply. The original issue was the unwanted size altering of the pdf document after converting it to gray scale using drivers API (I just print the file to be converted into a new pdf file, altering its color). The result object is smaller as the...
by relapse
Fri Sep 14, 2012 7:51 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi, Stefan! I've read in the js api reference that there are two dpi values to be set in a pdf document: bitmapDPI and gradientDPI. In my test file they have the values of 300 and 150 dpi respective. In the documentation for the driver api I've found the references to dpi values only in the context ...
by relapse
Thu Sep 13, 2012 9:37 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

And a further question from me: I can't find the proper settings to manage the size of the destination file? I've tried to use the following commands: PDFPrinter.Option["Paper.SheetWidth"] = 1110; PDFPrinter.Option["Paper.SheetHeight"] = 1110; but it didn't help me. To illustrate...
by relapse
Thu Sep 13, 2012 7:52 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I have then one more theoretical question. In the coming version of the Viewer it will be possible to alter text in an existing PDF file. Will it also be possible to do it with a converted PDF file, where the formatting information of the text isn't complete after the conversion (in this case - ...
by relapse
Wed Sep 12, 2012 11:15 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

But as I've described the situation it's possible to access the text using the option "formated copy" in Acrobat. Maybe there is also such a function in PdfXChange Viewer???
by relapse
Wed Sep 12, 2012 10:58 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Sorry, it was a false parameter notification. It should be the following one:

Code: Select all

PDFPrinter.Option["Graphics.Color.Convert.Method"] = 1;
To expand the last thing I addressed in my last message: Is there any possibility to force the formatting of the text to be kept after such a conversion?
by relapse
Wed Sep 12, 2012 7:55 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I've tried to set some printer options in the procedure bFilePrint_Click after defining it as a default printer with the command SetAsDefaultPrinter() but in vain: PDFPrinter.set_Option("Color.Convert", 1); I've also got no positive result trying to retrieve the value of a printer opti...
by relapse
Fri Sep 07, 2012 11:00 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Step by step it's going to be more understandable for me 8) One more question, how could I set the output of the file to be converted as a pdf file?
by relapse
Fri Sep 07, 2012 9:25 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi! I've downloaded and installed the test version of PDF-XChange 5 API. ... you need to open the pdf and start the print process in the Viewer SDK ... I can do it with the command HRESULT PrintDocument(LONG ID, LONG Flags); ... and then pass the print job to our printer ... So I need to instantiate...
by relapse
Thu Sep 06, 2012 11:59 am
Forum: PDF-XChange Drivers API SDK
Topic: How to convert a colored document to a monochrome one?
Replies: 77
Views: 32062

Re: How to convert a colored document to a monochrome one?

Hi Stefan! Did you mean the printer setting for grayscale (please check my attachment)? .. and output that to our printing drivers ... Could you tell me where is the information for using those printing drivers to find in your manuals? Would I have the PDF format as the output? I think I would, if y...