Search found 857 matches

by jeffp
Mon Mar 27, 2017 3:22 pm
Forum: PDF-XChange Editor SDK
Topic: Change in IPXV_Control SOLVED
Replies: 5
Views: 551

Re: Change in IPXV_Control SOLVED

Not quite. I need an event or property that indicates that the user changed something that would affect what gets saved out as user settings. For example, once settings are loaded, I need to know whether I need to save them out again once I close. For example, if the user changes a toolbar, a layout...
by jeffp
Sun Mar 26, 2017 1:27 am
Forum: PDF-XChange Editor SDK
Topic: Change in IPXV_Control SOLVED
Replies: 5
Views: 551

Change in IPXV_Control SOLVED

Is there a property in the TPXV_Control that indicates a user setting has changed, like modifying the toolbar or changing view options. I'm trying to be smart about saving the user settings only when I need to. I'm using the TPXV_Control as both an editor and file preview in the same app, so I need ...
by jeffp
Fri Mar 24, 2017 6:52 pm
Forum: PDF-XChange Editor SDK
Topic: How to Replace the image of a IPXC_ContentItem SOLVED
Replies: 63
Views: 5618

How to Replace the image of a IPXC_ContentItem SOLVED

I'm writing a clean up routine that will pull out the images inside a PDF page, clean them up with an outside image clean up routine (things like despeckle, deskew, etc.), and then replace the original image with the cleaned up image. In looking at IPXC_ContentItem, it can get the images by calling:...
by jeffp
Fri Mar 24, 2017 5:02 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_ContentItem and AnisChars
Replies: 3
Views: 380

Re: IPXC_ContentItem and AnisChars

Ok. I better not user 0 then. What's the Word value of an empty space?

Would this be right?

ord(#32)
by jeffp
Fri Mar 24, 2017 3:07 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_ContentItem and AnisChars
Replies: 3
Views: 380

IPXC_ContentItem and AnisChars

I've run into an old issue I posted a while back. That is, when getting the text from a IPXC_ContentItem it appears I can only do it if the text is AnsiChars. My note says that you were going to work on a fix for this. I'm in need of this now. I'm extracting the text from a PDF page by looping throu...
by jeffp
Wed Mar 22, 2017 5:08 pm
Forum: PDF-XChange Editor SDK
Topic: Small Toolbar Icons? SOLVED
Replies: 22
Views: 1245

Re: Small Toolbar Icons? SOLVED

Here's what I have in Delphi but it doesn't seem to hide the captions on the buttons. procedure TMyPDFControl.EnableSmallIcon(AEnable: Boolean); var cmds: IUIX_CmdCollection; cmd: IUIX_Cmd; i, cnt: Integer; begin cmds := INST_UIX.CmdManager.Cmds; cnt := cmds.Count; for i := 0 to cnt - 1 do begin cmd...
by jeffp
Wed Mar 22, 2017 1:59 pm
Forum: PDF-XChange Editor SDK
Topic: Small Toolbar Icons? SOLVED
Replies: 22
Views: 1245

Re: Small Toolbar Icons? SOLVED

In the old ViewerX sdk all the toolbar icons were smaller and had not text. I was just wondering if there was a way to force the Editor SDK toolbar icons to say 24x24 and not show the text below. The default seems to be 32x32 with a text caption below. Some of my users like to conserve vertical real...
by jeffp
Tue Mar 21, 2017 10:49 pm
Forum: PDF-XChange Editor SDK
Topic: Small Toolbar Icons? SOLVED
Replies: 22
Views: 1245

Small Toolbar Icons? SOLVED

Is there a way to force the toolbar icons to display with small icons, instead of the large icons with text?

--Jeff
by jeffp
Fri Mar 17, 2017 12:15 pm
Forum: PDF-XChange Editor SDK
Topic: Selected Pages
Replies: 7
Views: 677

Re: Selected Pages

Is there another way to get the CurrentPage?
by jeffp
Thu Mar 16, 2017 4:38 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

That doesn't work. I've added some code to save the ZoomMode before I close the document and then reset the ZoomMode after I open the new document. As I said before, you had a setting in the old viewer SDK that did this automatically. Also, what is the difference between FControl.Doc.ActiveView.Page...
by jeffp
Thu Mar 16, 2017 4:34 pm
Forum: PDF-XChange Editor SDK
Topic: Selected Pages
Replies: 7
Views: 677

Re: Selected Pages

The kind that crashes my program. Here are some lines from madExcept 005afe7a +07a FileCenter.exe System.Win.ComObj DispatchInvokeError 007a58d5 +061 FileCenter.exe Vcl.OleCtrls TOleControl.GetProperty 007a54bd +005 FileCenter.exe Vcl.OleCtrls TOleControl.GetIntegerProp 0097138c +044 FileCenter.exe ...
by jeffp
Thu Mar 16, 2017 3:38 pm
Forum: PDF-XChange Editor SDK
Topic: Rotation does not Modify SOLVED
Replies: 5
Views: 601

Re: Rotation does not Modify SOLVED

Perfect. Thanks.
by jeffp
Thu Mar 16, 2017 2:59 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

CABNodeExplorer is great and very useful. However, I can't find the equivalent of this one: FOldViewerControl.SetProperty('Documents.RestoreLastPageDisp', 1, 0); These two are close, but not the same thing. FControl.Inst.Settings['PagesView.RestoreLastView'].v := True; // true by default FControl.In...
by jeffp
Thu Mar 16, 2017 2:22 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

Until then, can you give me a quick translation of these old ones. FControl.SetProperty('PageDisplay.DefaultZoom', 'FitWidth', 0); FControl.SetProperty('PageDisplay.DefaultLayout', 'Single', 0); FControl.SetProperty('PageDisplay.DefaultView', 'ThumbnailsAndPage', 0); FControl.SetProperty('Documents....
by jeffp
Thu Mar 16, 2017 2:22 pm
Forum: PDF-XChange Editor SDK
Topic: Rotation does not Modify SOLVED
Replies: 5
Views: 601

Re: Rotation does not Modify SOLVED

I am embedding the TPXV_Control inside my Delphi app. As such, I then display the toolbars and open a PDF. I then press the Rotate CW button to rotate the PDF page. At that point, IPXV_Document.Modified is still false and PXC_Document.SrcInfo.IsDirty is still false.

--Jeff
by jeffp
Thu Mar 16, 2017 2:19 pm
Forum: PDF-XChange Editor SDK
Topic: Selected Pages
Replies: 7
Views: 677

Re: Selected Pages

Your selected pages code works great.

However, I'm getting an exception when I call

TPXV_Control.CurrentPage

Is there another way to get the current page of the active document?

And yes, I want to change the Theme programatically.

Thanks.

--Jeff
by jeffp
Thu Mar 16, 2017 4:21 am
Forum: PDF-XChange Editor SDK
Topic: Rotation does not Modify SOLVED
Replies: 5
Views: 601

Rotation does not Modify SOLVED

Is there a reason why the document is not marked Modified after pressing the Rotate CW or Rotate CCW buttons?

Is there a way to make that happen.

If I place a comment on a Page, then the Modified property gets set to True, but now with Rotation.

Why? Is it possible to do that?

--Jeff
by jeffp
Thu Mar 16, 2017 4:12 am
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

Looking for some more settings. The following work: FControl.Inst.Settings['Docs.SingleWnd'].v := False; FControl.Inst.Settings['Docs.HideSingleTab'].v := False; But now I need these translated into the new SDK like the above: (from old Viewer SDK) FControl.SetProperty('PageDisplay.DefaultZoom', 'Fi...
by jeffp
Wed Mar 15, 2017 11:00 pm
Forum: PDF-XChange Editor SDK
Topic: Freezing issue with TPDF_Control
Replies: 1
Views: 313

Freezing issue with TPDF_Control

I have an issue with the TPDF_Control freezing when embedded in my application. However, when I create a simple demo project to show this issue to you, it doesn't freeze. I'm using the exact same code in both. So here's what I'm doing. The control gets embedded just fine in my app and the demo app. ...
by jeffp
Wed Mar 15, 2017 7:15 pm
Forum: PDF-XChange Editor SDK
Topic: Selected Pages
Replies: 7
Views: 677

Selected Pages

[1] How can I get all the selected pages from TPXV_Control? I can get the current page with TPXV_Control.CurrentPage But I don't see where I can get all the selected pages. [2] Also, in the old viewer SDK there was a way to change the color of the app workspace. Where is that found in the new SDK? T...
by jeffp
Tue Mar 07, 2017 4:12 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_ContentItem.Get_BBox
Replies: 1
Views: 394

IPXC_ContentItem.Get_BBox

I'm using IPXC_ContentItem to get the BBox of a word in the PDF.

However, it seems that the BBox PXC_Rect doesn't always give coordinates relative to the entire page.

How can I ensure that the BBox PXC_Rect give me coordinates based on the entire size of the PDF page?

--Jeff
by jeffp
Wed Feb 22, 2017 6:20 pm
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile nFlags SOLVED
Replies: 9
Views: 819

Re: OpenDocumentFromFile nFlags SOLVED

Got it. Thanks.
by jeffp
Wed Feb 22, 2017 3:30 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

I can open the C# source files and view them, so if the settings info will be there in the code, that should be fine. I just can't compile them.

--Jeff
by jeffp
Wed Feb 22, 2017 3:29 pm
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile nFlags SOLVED
Replies: 9
Views: 819

Re: OpenDocumentFromFile nFlags SOLVED

FControl.Frame.View.DocViewsArea.ActiveDocView.Close(nFlags); Seems to work for my purposes, but one interesting thing is that if I call ADoc.Close(0) where the ADoc is the CoreDoc of the document in the ActiveDocView above, it does not get closed from the UI. That is, it stays in the view. --Jeff
by jeffp
Wed Feb 22, 2017 1:56 pm
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile nFlags SOLVED
Replies: 9
Views: 819

Re: OpenDocumentFromFile nFlags SOLVED

Sorry, I missed that one. But just to confirm is this the best/only way to programatically close a document from the Control.

FControl.Frame.View.DocViewsArea.ActiveDocView.Close(nFlags);

--Jeff
by jeffp
Wed Feb 22, 2017 1:49 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Re: Settings

I'm using Delphi, so will it be a compiled exe I can run so I can still run it and use it?
by jeffp
Tue Feb 21, 2017 6:25 pm
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile nFlags SOLVED
Replies: 9
Views: 819

Re: OpenDocumentFromFile nFlags SOLVED

Ok. What about this one in the Editor layer. I want to close a document opened in the Editor but skip any dialog that would appear if the document was modified. That is, skip the "Do you want to save changes dialog". Is there a value for nFlags in this case? Also, is this the right way to close a do...
by jeffp
Tue Feb 21, 2017 5:15 pm
Forum: PDF-XChange Editor SDK
Topic: Settings
Replies: 13
Views: 868

Settings

Where I can find a description and comprehensive list of all the settings I can access like 'Docs.SingleWnd' and 'Docs.HideSingleTab' below.

FControl.Inst.Settings['Docs.SingleWnd'].v := False;
FControl.Inst.Settings['Docs.HideSingleTab'].v := False;

--Jeff
by jeffp
Mon Feb 20, 2017 10:01 pm
Forum: PDF-XChange Editor SDK
Topic: Events
Replies: 3
Views: 7532

Re: Events

Ok. I now see the pdfCtl.EnableEventListening. And I also found this page listing all the events. http://sdkhelp.tracker-software.com/view/PXV:PXV_Events In the past, you had an event that would tell me when the Documents.Count changed so I can know if a new document was opened. Do you have somethin...
by jeffp
Mon Feb 20, 2017 8:53 pm
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile nFlags SOLVED
Replies: 9
Views: 819

OpenDocumentFromFile nFlags SOLVED

Can you tell me where to find the available nFlags for

IPXC_Inst.OpenDocumentFromFile()

I need to make sure there is NoProgross and NoUI popping up when the file is opened.

--Jeff
by jeffp
Mon Feb 20, 2017 5:52 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple TPXV_Control Objects
Replies: 3
Views: 10056

Re: Multiple TPXV_Control Objects

Ok. That should work in the context of my Preview control since I will open PDF files into that control via my own code. However, the Editor control I use, the user will be opening files via your Open button on the Editor toolbar. In that case I don't have control over the open procedure. So in that...
by jeffp
Sat Feb 18, 2017 3:43 pm
Forum: PDF-XChange Editor SDK
Topic: Events
Replies: 3
Views: 7532

Events

In the old SDK there was and event TCoPDFXCview.OnEvent that I was able to implement to get event info passed to me when things changed in the editor. I'm looking to implement that now in the new SDK. I see that there is an event TPXV_Control.OnEvent but when I hook it up it doesn't seem to pass me ...
by jeffp
Sat Feb 18, 2017 7:19 am
Forum: PDF-XChange Editor SDK
Topic: Multiple TPXV_Control Objects
Replies: 3
Views: 10056

Multiple TPXV_Control Objects

I'm using two TPXV_Control objects in my application. One acts like an editor and can have multiple documents open (Docs.SingleWnd = true). The other acts like a preview window and can only have one document open (Docs.SingleWnd = false);. Each control has its own MainFrame and I keep a separate Use...
by jeffp
Sat Feb 18, 2017 7:01 am
Forum: PDF-XChange Editor SDK
Topic: Loading and Saving User Settings
Replies: 1
Views: 305

Loading and Saving User Settings

I am currently saving and loading the user setting to file like this: FControl.Inst.LoadUserSettings(FControl.Inst.CreateString(FSettingsFile), 0); FControl.Inst.SaveUserSettings(FControl.Inst.CreateString(FSettingsFile), 0); Is it possible to save and load to a memory stream or some string variable...
by jeffp
Thu Feb 16, 2017 1:47 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 592

Re: DrawToIXCPage with Rotated Page

Until I can better understand the matrix code, I will just call

APage.Set_Rotation(0);

before drawing the page. Then I'll rotate it back to the original angle after I draw the page.

I assume that this will be fine too.
by jeffp
Thu Feb 16, 2017 1:33 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page Darkness
Replies: 3
Views: 389

Re: IIXC_Page Darkness

Let me try again. The image will already be a B&W image so ColorCount will be 2.

I'm looking for the fraction of a B&W image that contains dark pixels.

--Jeff
by jeffp
Thu Feb 16, 2017 1:29 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 592

Re: DrawToIXCPage with Rotated Page

I thought that's why you wanted to see my code. So you can tell me where in my matrix code the page is being rotated.

You're correct. I don't fully understand how the Matrix code is working.

--Jeff
by jeffp
Wed Feb 15, 2017 6:50 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page Darkness
Replies: 3
Views: 389

IIXC_Page Darkness

Is there a property or procedure with IIXC_Page that will give me a "darkness" factions of sorts. I have another image package that does this and it is defines as "the fraction of an image that consists of "dark" pixels (i.e., pixels that would be black if the image was converted to B&W)" I'm using ...
by jeffp
Tue Feb 14, 2017 1:54 am
Forum: PDF-XChange Editor SDK
Topic: IsModified SOLVED
Replies: 3
Views: 466

Re: IsModified SOLVED

Perfect. Thanks.
by jeffp
Mon Feb 13, 2017 4:24 pm
Forum: PDF-XChange Editor SDK
Topic: IsModified SOLVED
Replies: 3
Views: 466

IsModified SOLVED

Is see that there is a IsModifed property on IPXV_Document.

Is there a way to get this value or something similar on the core with IPXC_Document?

--Jeff
by jeffp
Mon Feb 13, 2017 3:04 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 592

Re: DrawToIXCPage with Rotated Page

Here is the relevant code (most of which I got from you a while back). Currently, I'm just using APage.Set_Rotation(0); Before I do the drawing, which seems to work just fine, but would like to understand what part of the matrix code is doing the rotation if I don't call APage.Set_Rotation(0) first....
by jeffp
Sun Feb 12, 2017 4:30 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 592

DrawToIXCPage with Rotated Page

When I draw a PDF Page to IIXC_Page using the following APage.DrawToIXCPage(Result, xDestRect, pMatrix, ARenderParams, AOCContext, nil); If the PDF Page is rotated before I make the call, it appears that the call automatically rotates the page back to 0 before drawing. Is there a way to force this t...
by jeffp
Fri Feb 10, 2017 1:39 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

Yes. It is working for me now.
by jeffp
Thu Feb 09, 2017 4:03 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

Go figure. The following commandline works now.

/quiet /norestart /log "C:\ProgramData\FileCenter\PDFPrinterLog6.txt" PNAME="FileCenter PDF Printer 6" ORGANIZATION="FileCenter" KEYDATA="..."
by jeffp
Thu Feb 09, 2017 3:34 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

I think something may be wrong with how you parse the commandline or how I'm entering it again. I just did another attempt where I rearragned the parameters. Here's what I passed. /quiet /norestart PNAME="FileCenter PDF Printer 6" ORGANIZATION="FileCenter" /log "C:\ProgramData\FileCenter\PDFPrinterL...
by jeffp
Thu Feb 09, 2017 3:25 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

I'm most definitely using

PNAME="FileCenter PDF Printer 6"

I just emailed the other log to support@tracker-software.com.

Are you able to make this work on a test machine on your end?

--Jeff
by jeffp
Wed Feb 08, 2017 2:06 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

Just emailed it to you.
by jeffp
Tue Feb 07, 2017 10:39 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 8951

Re: Lite Driver Merge Issue

Looks like .320 is out. Can you confirm if PNAME or PNAMELITE is the param to use to rename the driver when I install it. I just tried both /quiet /norestart /log "C:\ProgramData\FileCenter\PDFPrinterLog6.txt" ORGANIZATION="FileCenter" PNAME="FileCenter PDF Printer 6" KEYDATA="..." and /quiet /nores...
by jeffp
Fri Feb 03, 2017 7:03 pm
Forum: PDF-XChange Editor SDK
Topic: PaperSizes
Replies: 1
Views: 299

PaperSizes

Is there a procedure in the Editor SDK that will return paper sizes in points or inches given a certain type of paper like US Letter, US Legal, A4, etc.

For example, if I pass US Legal it would return 8.5 x 11 inches or in some other unit.

Thanks.

--Jeff
by jeffp
Thu Jan 19, 2017 3:15 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple Instances of TPXV_Control
Replies: 11
Views: 1595

Re: Multiple Instances of TPXV_Control

Just checking back again to see if this is going to be in the cards for a future release?

--Jeff