Search found 43 matches

by magthenop
Tue Aug 29, 2017 5:37 pm
Forum: PDF-XChange Viewer SDK
Topic: SetDevInfo not working, ver 2.5.322.7 in Delphi
Replies: 1
Views: 2129

SetDevInfo not working, ver 2.5.322.7 in Delphi

Hi! When I use our new serial in SetDevInfo it does not work. I can not enter the serial as one long string beqause of the 255 character limit in Delphi, but I joint them on the same line with quote marks and a plus sign. I had no problems before with the old serial (short and in the format of XXXXX...
by magthenop
Fri May 19, 2017 9:07 am
Forum: PDF-XChange Viewer SDK
Topic: Event for delete/remove of annotation
Replies: 1
Views: 1746

Event for delete/remove of annotation

Is there some event name or typ that is triggerd when an annotation is deleted/removed from the pdf ?
by magthenop
Thu May 18, 2017 11:04 am
Forum: PDF-XChange Viewer SDK
Topic: Get strokecolor of selected Polygon
Replies: 3
Views: 2381

Re: Get strokecolor of selected Polygon

:-) Jepp, that did the trick!
Thanks
by magthenop
Thu May 18, 2017 9:50 am
Forum: PDF-XChange Viewer SDK
Topic: Get strokecolor of selected Polygon
Replies: 3
Views: 2381

Get strokecolor of selected Polygon

Hi! How can I get the strokecolor of a selected Polygon? i have tried with a number of things, This is the latest (but it does not work): 'a = this.selectedAnnots; if (a.length) { var p = a[0].getProps(); p.strokecolor; };'; I am executing this string with RunJavaScript and want to get a string in r...
by magthenop
Thu Dec 23, 2010 6:47 am
Forum: PDF-XChange Viewer SDK
Topic: SetDevInfo problem on Citrix server
Replies: 3
Views: 1296

Re: SetDevInfo problem on Citrix server

Hi! I do not get one, I get an error when trying to get the error text. My conclusion is that the user can not access the ActiveX components. We only install the 32 bit variants beqause the product is only 32 bit, following your example in the pdf file. I just recieved a message that they have fixed...
by magthenop
Wed Dec 22, 2010 1:02 pm
Forum: PDF-XChange Viewer SDK
Topic: SetDevInfo problem on Citrix server
Replies: 3
Views: 1296

SetDevInfo problem on Citrix server

Hi!
I am getting an error when setting the SetDevInfo in my program.
It works fine on every windows pc so far, and even on a TS 2008 R2.
but when a customer tries to do this on a 2003 Enterprise ed SP2 with a Citrix presentation server 4.5 we get an error.
by magthenop
Wed Dec 01, 2010 11:51 am
Forum: PDF-XChange Viewer SDK
Topic: Found an error if computer running XP, works in Vista and W7
Replies: 6
Views: 1928

Re: Found an error if computer running XP, works in Vista and W7

It is when using the PDF-XChange Viewer SDK in our application that this behaviour shows (do not know if it works when the customer uses the stand alone app), I am using the 2.5.188 version. I have the comments panel visible and sorted by author, before the user either selects an allready existing m...
by magthenop
Wed Dec 01, 2010 10:57 am
Forum: PDF-XChange Viewer SDK
Topic: Open all Stickynotes by code?
Replies: 3
Views: 1216

Re: Open all Stickynotes by code?

:mrgreen: Thanks :mrgreen:
by magthenop
Wed Dec 01, 2010 8:02 am
Forum: PDF-XChange Viewer SDK
Topic: Found an error if computer running XP, works in Vista and W7
Replies: 6
Views: 1928

Found an error if computer running XP, works in Vista and W7

If I have all the Comments Contracted and Selects an Polygon (or creates an Pylygon, Polyline etc) in the pdf on all platforms I have tested except XP the comment expands and shows this in he commats panel, I would like it to behave the same on a XP machine.
by magthenop
Wed Dec 01, 2010 7:58 am
Forum: PDF-XChange Viewer SDK
Topic: Open all Stickynotes by code?
Replies: 3
Views: 1216

Open all Stickynotes by code?

How can I open upp all stickynotes (and just the stickynotes) by code or by a command?
And how can I close them again.
by magthenop
Mon Nov 29, 2010 7:51 am
Forum: PDF-XChange Viewer SDK
Topic: Inactivate selection of object when adding a new?
Replies: 3
Views: 1250

Inactivate selection of object when adding a new?

If I have an pdf with a couple of measurements allready present and I want to add (for example) a polygon to it and the starting point is where another object allready exists the allready present object gets selected. I would like to be able to add a new object where another object is allready prese...
by magthenop
Mon Nov 29, 2010 7:09 am
Forum: PDF-XChange Viewer SDK
Topic: Expand comments for a specific author?
Replies: 4
Views: 1417

Re: Expand comments for a specific author?

Ok, waiting mode = on :mrgreen:
by magthenop
Fri Nov 26, 2010 10:36 am
Forum: PDF-XChange Viewer SDK
Topic: Expand comments for a specific author?
Replies: 4
Views: 1417

Expand comments for a specific author?

If I have the comments pane sorted by Author, can I send a command that expand just the comments for a specific author in the pane?
by magthenop
Fri Nov 26, 2010 10:08 am
Forum: PDF-XChange Viewer SDK
Topic: How to see if PDFXCView is processing something?
Replies: 6
Views: 1885

Re: How to see if PDFXCView is processing something?

Hi!

After updating to the new 2.5.188 this problem har gone away. :mrgreen:

Did also notice that there are two things in the new version that I could use, namely ContentMonitor and ContentReady to wait until an openening of a document is complete. :idea:
by magthenop
Fri Nov 26, 2010 6:15 am
Forum: PDF-XChange Viewer SDK
Topic: How to see if PDFXCView is processing something?
Replies: 6
Views: 1885

Re: How to see if PDFXCView is processing something?

In essens this is whats going on: Try PDFRitning.DoVerb('', 'ExecuteCommand', 'NewDocumentFromImage', DataOut, 0); except on ex : EOleException do Begin ShowErrorMessage('NewDocumentFromImage, OppnaBilder',ex); End; end; If success, run this: Try PDFRitning.SetProperty('Commands[#32620].State','Offl...
by magthenop
Thu Nov 25, 2010 12:34 pm
Forum: PDF-XChange Viewer SDK
Topic: How to see if PDFXCView is processing something?
Replies: 6
Views: 1885

Re: How to see if PDFXCView is processing something?

I am using the NewDocumentFromImage, but when I then try to Show the Thumbnail pane after this command I get an OLE error, and I asume thats beqause the PDFXCView is not "ready" to recieve this command at that stage.
by magthenop
Thu Nov 25, 2010 10:23 am
Forum: PDF-XChange Viewer SDK
Topic: How to see if PDFXCView is processing something?
Replies: 6
Views: 1885

How to see if PDFXCView is processing something?

Hi! When I load a bunch of images into the pdf viewer, how can I tell when it has done this and is ready? Beqause for example I get an OLE error 82130001 if I try the set the Thumbnail pane visible before all is done with the loading and so on. If would be nice to have a state propery or something a...
by magthenop
Mon Nov 22, 2010 1:59 pm
Forum: PDF-XChange Viewer SDK
Topic: Hide Rulers, Guides and Grid and measure setup of these
Replies: 6
Views: 2843

Re: Hide Rulers, Guides and Grid and measure setup of these

One more thing:

What is the "name" of the property for "Subdivision for Grid" ?
by magthenop
Mon Nov 22, 2010 7:30 am
Forum: PDF-XChange Viewer SDK
Topic: Hide Rulers, Guides and Grid and measure setup of these
Replies: 6
Views: 2843

Hide Rulers, Guides and Grid and measure setup of these

Hi! I have found how to show Rulers, Guides and Grid, but I have not found out how to set the measurements of these and how to hide them . I would like to programmaticaly set these to whatever I want. Can someone please tell me how? and if there is a good referense from Adobe that shows these kind o...
by magthenop
Fri Nov 19, 2010 1:56 pm
Forum: PDF-XChange Viewer SDK
Topic: Cursor layout in areatool
Replies: 1
Views: 921

Cursor layout in areatool

When I select the areatool the cursor is shown as a cross (that´s ok), but after clicking a point it goes over to a small "pointer", can I somehow say that I want this cross cursor as long as i am using the areatool?
by magthenop
Wed Oct 13, 2010 11:14 am
Forum: PDF-XChange Viewer SDK
Topic: Align Comment Pane to the right of screen
Replies: 5
Views: 1605

Re: Align Comment Pane to the right of screen

Yes, but not for the individual user that wnat it "his" way.
But please: think of this function in a new release.
by magthenop
Tue Oct 12, 2010 11:38 am
Forum: PDF-XChange Viewer SDK
Topic: Align Comment Pane to the right of screen
Replies: 5
Views: 1605

Re: Align Comment Pane to the right of screen

That was bad news... :(
by magthenop
Mon Oct 11, 2010 1:00 pm
Forum: PDF-XChange Viewer SDK
Topic: Align Comment Pane to the right of screen
Replies: 5
Views: 1605

Align Comment Pane to the right of screen

How do I send a command to align the comments pane on the right side of the screen (default is left side, but I don not want it there)?
by magthenop
Mon Sep 27, 2010 4:21 pm
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

I could not agree more, all kudos to vasil :mrgreen:
by magthenop
Mon Sep 27, 2010 12:30 pm
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

:D It works so nice now! Thanks a million. :mrgreen:
by magthenop
Mon Sep 27, 2010 8:39 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

When I measure an arean (in this case a triangle) I get this points from the vertices of the area measure: [437.95407360805285,1462.71714922049], [588.6882667505505,1466.467706013363], [503.19723183391005,1363.7024498886415] Before I finishes the measurement I know that the circumfence length should...
by magthenop
Fri Sep 24, 2010 7:35 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Hi! I can not find any function where I can send in the vertices from a[0].vertices and get back the perimeter length or create a new Polyline measurement on the same location as the Polygon measurement with the polygon measure as a blueprint. Can someone help me with this? Or how to catch the event...
by magthenop
Mon Sep 20, 2010 7:33 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Do you have a link that works? I'm getting: Sorry, this page is not available
by magthenop
Fri Sep 17, 2010 11:28 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Sorry, rect is wrong propery, but somewhere the "points" must be saved.
by magthenop
Fri Sep 17, 2010 11:15 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Ok, thats a settback :-(

Can I somehow convert the values in the rect propery of the annotation to a length by any simple means?
by magthenop
Fri Sep 17, 2010 9:19 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

One more thing :-) When measuring an Area i can se inte PDFViewer the length of the perimeter, but when finished I can only se the area. When "reading" the selected annotation for a area measurement can I somehow even get the perimeter length at the same time (or can I translate the select...
by magthenop
Fri Sep 17, 2010 7:21 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Nice, work totaly fine for me :D
Thanks a million.
by magthenop
Thu Sep 16, 2010 12:11 pm
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Oh, thats to bad. When will this version be available? I must have some sort of working solution for this shortly after mid october (promised demo to many customers), after that Beta testing and in the beginning of next year rollout of a new version to all customers. Can I solve this some other way?...
by magthenop
Thu Sep 16, 2010 9:30 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

The latest solution proposed by Viktor, does not work for me. :(
by magthenop
Thu Sep 16, 2010 7:57 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

When checking the versions I get:

Client version: 2.0.0055.0000
Server version: 2.0.0055.0000
by magthenop
Thu Sep 16, 2010 5:56 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Another thing that happend after upgrading, I can not set the scale after loading an .pdf file, if I now try to set this scale I get an OLE Error 82130001 on the first code line, this worked in 2.0.54. PDFRitning.SetProperty('Tools.Distance.Measure.Simple.FromValue', 1.0,0); PDFRitning.SetProperty('...
by magthenop
Thu Sep 16, 2010 5:42 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Sorry, but after ugrading to 2.0.55 (had 2.0.54) I get the same result as before :(
by magthenop
Wed Sep 15, 2010 1:29 pm
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Re: Measuring, how can I get hold of the latest measuring

Hi! This onEvent does not trigger the OnNewMeasurement when I do a new measuring (a distance, area etc). Something is not right. :( Here is my code for the onEvent in Delphi: procedure TForm1.PDFRitningEvent(ASender: TObject; Type_: Integer; const Name: WideString; const DataIn: OleVariant; out Data...
by magthenop
Wed Sep 15, 2010 7:15 am
Forum: PDF-XChange Viewer SDK
Topic: Measuring, how can I get hold of the latest measuring
Replies: 29
Views: 6693

Measuring, how can I get hold of the latest measuring

How can I get hold of the measuring that has just been done? (for example: the user selects to measure a distance/area etc. and when he finishes this I want to be able to pick up this event and process the information), and how can I get hold of all measurings that has been done in a pdf, I want to ...