Search found 453 matches

by lidds
Wed Jun 10, 2020 10:07 am
Forum: PDF-XChange Editor SDK
Topic: How to hide and unhide annotations
Replies: 3
Views: 123

Re: How to hide and unhide annotations

Thanks Alex,

Such a simple thing :D
by lidds
Tue Jun 09, 2020 9:45 pm
Forum: PDF-XChange Editor SDK
Topic: How to hide and unhide annotations
Replies: 3
Views: 123

How to hide and unhide annotations

How can you hide and unhide annotations without modifying existing set flags? I am currently adding the annots that I want to be hidden or shown as shown below, however this does not seem to have any effect? If inputShow.Count <> 0 Then Dim options As PDFXEdit.ICabNode = OpShow.Params.Root("Options"...
by lidds
Thu Jun 04, 2020 2:33 pm
Forum: PDF-XChange Editor SDK
Topic: Get colour of FreeTextTypeWriter
Replies: 1
Views: 373

Get colour of FreeTextTypeWriter

I am trying to get the Stoke colour of the FreeTextTypeWriter annotations, however the below code always seems to return black? The code works with all other annotation item. If annot IsNot Nothing Then Dim data As PDFXEdit.IPXC_AnnotData = annot.Data Dim mData As PDFXEdit.IPXC_AnnotData_Markup = Di...
by lidds
Thu Jun 04, 2020 2:29 pm
Forum: PDF-XChange Editor SDK
Topic: e_docSelection_changed question
Replies: 5
Views: 353

Re: e_docSelection_changed question

Hi Alex,

Yes you are correct, this was the error, should have seen this.

Instead a used a selection flag and intercepted the left button up mouse event.

Thanks for you help

Simon
by lidds
Mon Jun 01, 2020 10:36 am
Forum: PDF-XChange Editor SDK
Topic: e_docSelection_changed question
Replies: 5
Views: 353

Re: e_docSelection_changed question

Hi Alex,

What I mean is when I depress the left mouse button and stretch a selection window to select multiple markups.

I hope that clarifies?

Thanks

Simon
by lidds
Sun May 31, 2020 6:56 pm
Forum: PDF-XChange Editor SDK
Topic: e_docSelection_changed question
Replies: 5
Views: 353

e_docSelection_changed question

I have started developing my own comment form as it gives some more features to my users for my tool than the currently one. Everything seems to be going OK, apart from this one issue. I am intercepting the e_docSelection_changed event so that when the user selects a markup from the document it auto...
by lidds
Sun May 31, 2020 6:49 pm
Forum: PDF-XChange Editor SDK
Topic: Getting correct annotation type
Replies: 6
Views: 233

Re: Getting correct annotation type

I have figured this out. Thanks for the help
by lidds
Sat May 30, 2020 2:55 am
Forum: PDF-XChange Editor SDK
Topic: Reply does not show Subject
Replies: 5
Views: 367

Re: Reply does not show Subject

Alex,

I have just got round to checking this and it works for the annotation popup, but does not change the reply item.

Thanks

Simon
by lidds
Fri May 29, 2020 5:30 pm
Forum: PDF-XChange Editor SDK
Topic: Get name of stamp from stamp library
Replies: 1
Views: 108

Get name of stamp from stamp library

I know that when you place a stamp it has a stamp ID, my understanding is this stamp ID is the ID of the stamp from the library and it is also given it's own unique name as a placed annotation. What I was wondering is if there is a way to get the actual name of the stamp in the library e.g. if I cre...
by lidds
Fri May 29, 2020 1:08 am
Forum: PDF-XChange Editor SDK
Topic: Getting correct annotation type
Replies: 6
Views: 233

Re: Getting correct annotation type

Hi Victor,

I was wondering if you had any thoughts on what I am doing wrong or a code snippet on how to achieve my goal?

Thanks

Simon
by lidds
Wed May 27, 2020 12:05 pm
Forum: PDF-XChange Editor SDK
Topic: Getting correct annotation type
Replies: 6
Views: 233

Re: Getting correct annotation type

Victor, Thank you for the information, however I am still unable to get the correct type of the FreeText as the intent property always seems to return FreeText. My understanding from the specification is that the IT property should return either FreeText, FreeTextCallout or FreeTextTypeWriter howeve...
by lidds
Tue May 26, 2020 4:35 pm
Forum: PDF-XChange Editor SDK
Topic: Getting correct annotation type
Replies: 6
Views: 233

Re: Getting correct annotation type

I was wondering if you have any thoughts on this?

Thanks

Simon
by lidds
Tue May 26, 2020 11:12 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Don't worry Alex I figured it out, thanks for your help. Public Function IColorToColor(ByVal IColourRGB As UInteger) As Color Dim hexColour As String = Hex(IColourRGB) hexColour = hexColour.Substring(hexColour.Length - 6) Dim r As String = hexColour.Substring(4, 2) Dim g As String = hexColour.Substr...
by lidds
Fri May 22, 2020 1:09 pm
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Hi Alex,

Thanks for the information however what property do I get that colour value from on the annotation item as there is no property that returns that value, see screen shot:
Color.png
Sorry for asking what might be a simple question

Thanks

Simon
by lidds
Fri May 22, 2020 9:47 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Hi Alex, Sorry to bring this forum back up again, however I'm not sure if I am passing the correct value to get converted (I am using the following value annot.Data.Color.RGB which is returning a value example of 4282400768) as I get the following error: ColorError.png I'm sure I am doing something ...
by lidds
Thu May 21, 2020 11:23 am
Forum: PDF-XChange Editor SDK
Topic: Getting correct annotation type
Replies: 6
Views: 233

Getting correct annotation type

I am trying to replicate the Comments form that you have as my customers require some more functionality. All is going OK at the moment, however I am using the following code to get the annotation type: Dim annot As PDFXEdit.IPXC_Annotation = page.GetAnnot(j) Dim annotType As String = pxsInst.AtomTo...
by lidds
Thu May 21, 2020 11:15 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Thanks Alex
by lidds
Thu May 21, 2020 9:04 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Alex,

I don't want to set the colour of the annotation, I know how to do this. I want to get the colour of the annotation as Drawing.Color

Thanks

Simon
by lidds
Wed May 20, 2020 11:04 pm
Forum: PDF-XChange Editor SDK
Topic: ZoomTo IPXV_AnnotSelection
Replies: 1
Views: 72

ZoomTo IPXV_AnnotSelection

Is there a way that I can zoom to the IPXV_AnnotSelection I have created?

Thanks

Simon
by lidds
Wed May 20, 2020 8:19 pm
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Re: Convert IColor to Drawing.Color

Hi Daniel,

Yes my mistake it is meant to be in the PDF Xchange Editor SDK forum. If you could move it that would be great.

Thanks

Simon
by lidds
Wed May 20, 2020 7:11 pm
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 292

Convert IColor to Drawing.Color

Please could you help as I cannot seem to figure this out and have spent a good amount of time searching the forum.

All I want to do is convert an IColor to the equivalent Drawing.Color. e.g.

Code: Select all

Dim annotColor As Color =  Color.FromArgb(annot.Data.Color.RGB)


Thanks

Simon
by lidds
Fri May 15, 2020 1:22 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 184

Re: Annot State order when using custom StateModel

Hi Alex, I understand now. I am planning on creating my own custom annotation form this weekend that will list the annotations, so I might be able to solve it on my custom form . Just out of interest when a state is set on an annotation does it record the datetime that the state was set? If so is th...
by lidds
Fri May 15, 2020 12:25 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 184

Re: Annot State order when using custom StateModel

Alex,

I am not using the End User Editor but the SDK. You ask if it can recreated in the End User Editor which it can. If I repost in the End User Editor, they will say it just works that way, were I need a code work around, which is what this forum is for!!

Does that make sense?

Thanks

Simon
by lidds
Fri May 15, 2020 12:12 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 184

Re: Annot State order when using custom StateModel

Hi Alex, Yes this can be recreated in the End User Designer. If you run the following JavaScript and then do the following: 1. Draw an annotation e.g. Circle 2. Change Status to Approved from the standard Review state model. 3. Then change the Status to Incorporated from the "My Status" state model ...
by lidds
Fri May 15, 2020 12:21 am
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 184

Re: Annot State order when using custom StateModel

Can anyone from Tracker give me some advise on this please?

Thanks

Simon
by lidds
Tue May 12, 2020 8:07 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 184

Annot State order when using custom StateModel

I have created a custom state model so that I can add custom annotation statuses. Creating the state model with states and setting the annotation state works all fine. The issue that I have is that if an annotation element has a state set to "Approved", which is obviously from the default Review sta...
by lidds
Wed Apr 29, 2020 11:57 pm
Forum: PDF-XChange Editor SDK
Topic: Hide progressBar on doc save
Replies: 1
Views: 235

Hide progressBar on doc save

Is there a way that I can stop the progressBar form appearing when doing a Doc.Save() command?

Thanks

Simon
by lidds
Mon Apr 20, 2020 1:20 pm
Forum: PDF-XChange Editor SDK
Topic: Reply does not show Subject
Replies: 5
Views: 367

Re: Reply does not show Subject

Thanks Stephan, however how can I do this via code?

Thanks

Simon
by lidds
Sat Apr 18, 2020 7:39 pm
Forum: PDF-XChange Editor SDK
Topic: Reply does not show Subject
Replies: 5
Views: 367

Reply does not show Subject

Is there a way to get the subject to be shown on an annotation Reply popup note as it only seems to display the Author in the header?

Thanks

Simon
by lidds
Sun Mar 15, 2020 10:56 pm
Forum: PDF-XChange Editor SDK
Topic: Add items to popup
Replies: 1
Views: 248

Add items to popup

Is there a way that I can add items to the popup menus when right clicking on an annotation item?
popup.png
popup.png (9.94 KiB) Viewed 248 times
Thanks

Simon
by lidds
Sun Mar 15, 2020 10:51 pm
Forum: PDF-XChange Editor SDK
Topic: Remove all help icon links
Replies: 1
Views: 228

Remove all help icon links

I have noticed that on PDF XChange Editor SDK there are various help link icons displays on some forms e.g. the calibrate measurement form shown below. Is there a way to remove all of these help icons off of all forms?
HelpIconLinks.png
HelpIconLinks.png (100 KiB) Viewed 228 times
Thanks

Simon
by lidds
Wed Mar 04, 2020 11:21 am
Forum: PDF-XChange Editor SDK
Topic: Add additional font size to dropdown
Replies: 5
Views: 666

Re: Add additional font size to dropdown

Is this possible?

Thanks

Simon
by lidds
Fri Feb 28, 2020 11:54 am
Forum: PDF-XChange Editor SDK
Topic: Add additional font size to dropdown
Replies: 5
Views: 666

Re: Add additional font size to dropdown

Hi, Yes this was the font size dropdown I was referring to. I know you can enter a smaller value in the text field, however I was to add the values to the dropdown so the user can select them. Is something like this possible https://forum.tracker-software.com/viewtopic.php?f=66&t=31093 Thanks Simon
by lidds
Fri Feb 28, 2020 11:46 am
Forum: PDF-XChange Editor SDK
Topic: Change dynamic stamp text after placement
Replies: 1
Views: 421

Change dynamic stamp text after placement

I have created a dynamic stamp that has 2 text fields on the stamp and added the below JS to one of the text fields. var oDlg = { strName: "", initialize: function(dialog) { dialog.load({"frmData":this.strLine1}); }, commit: function(dialog) { var data = dialog.store(); this.strLine1 = data[ "txtLin...
by lidds
Thu Feb 27, 2020 3:42 pm
Forum: PDF-XChange Editor SDK
Topic: Add additional font size to dropdown
Replies: 5
Views: 666

Add additional font size to dropdown

Some of my customers are working on large paper size drawings e.g. A0 paper size. At the moment the smallest font size you can select from the font size dropdown is "8 pt", is there a way that I could add 7, 6, 5, 4, 3, 2 pt to the dropdown?

Thanks in advance

Simon
by lidds
Fri Nov 22, 2019 2:06 pm
Forum: PDF-XChange Editor SDK
Topic: Delete all text on PDF document
Replies: 1
Views: 277

Delete all text on PDF document

What I want to do is delete all the text on a PDF document. I was messing around with the following code, but have a feeling I am way of track? Dim content As IPXC_Content = curPage.GetContent(PXC_ContentAccessMode.CAccessMode_FullClone) Dim items As IPXC_ContentItems = content.Items For itemIndex A...
by lidds
Tue Oct 08, 2019 4:06 pm
Forum: PDF-XChange Editor SDK
Topic: Add custom attributes to annotation
Replies: 1
Views: 524

Add custom attributes to annotation

I was wondering if it is possible to add custom attributes to annotation elements. For example if I placed a line attribute could I then using code add an attribute name called Company and add some text against that attribute. Then be able to export the annotation to an fdf file and for that attribu...
by lidds
Wed Sep 04, 2019 9:01 am
Forum: PDF-XChange Editor SDK
Topic: Tabbed document bar options
Replies: 5
Views: 785

Re: Tabbed document bar options

Sorry Alex, I should have been clearer. This did work until I upgraded to PDF Xchange Editor SDK 8.0.332, now it does not seem to remove the close document "X" on the far right of the tab control.

Thanks

Simon
by lidds
Sun Sep 01, 2019 11:56 pm
Forum: PDF-XChange Editor SDK
Topic: Change form border colour
Replies: 1
Views: 142

Change form border colour

I was wondering if there is a way to change the form border colour, either using code or editing the Resources.dat file?
window.png
Thanks

Simon
by lidds
Sun Sep 01, 2019 1:38 am
Forum: PDF-XChange Editor SDK
Topic: Tabbed document bar options
Replies: 5
Views: 785

Re: Tabbed document bar options

Any ideas from anyone?

Thanks

Simon
by lidds
Fri Aug 30, 2019 3:15 pm
Forum: PDF-XChange Editor SDK
Topic: Just show annotations that match status
Replies: 7
Views: 381

Re: Just show annotations that match status

Alex, I figured out what I was doing wrong. On my JS I was collecting all the annotations on the document and then looping to match the single annotation name that I wanted to get the Status of. Obviously this was repeating this loop 900 times for the document. Instead I should have just used the th...
by lidds
Fri Aug 30, 2019 12:01 am
Forum: PDF-XChange Editor SDK
Topic: Tabbed document bar options
Replies: 5
Views: 785

Tabbed document bar options

I want to stop the popup menu and the close document (X) from being displayed, is this possible? 2019-08-30_00-42-29.png I have tried the following, but this does not remove the Close Document (X) layout = Me.docPreview.Inst.MainFrm(PDFControlNum).View.DocViewsArea.Panes.Layout For Each docLayout As...
by lidds
Thu Aug 29, 2019 5:23 pm
Forum: PDF-XChange Editor SDK
Topic: Just show annotations that match status
Replies: 7
Views: 381

Re: Just show annotations that match status

Alex, This is currently what I am doing, but my customers has documents that have over 900 annotations and this is quite slow. If I just wanted to hide the annotations is this possible using a different command? If so, if the annotations are hidden and then I flattern and save the document to a diff...
by lidds
Wed Aug 28, 2019 11:32 pm
Forum: PDF-XChange Editor SDK
Topic: Just show annotations that match status
Replies: 7
Views: 381

Re: Just show annotations that match status

Alex,

I wish to remove them from the document.

Thanks

Simon
by lidds
Tue Aug 27, 2019 9:32 pm
Forum: PDF-XChange Editor SDK
Topic: Just show annotations that match status
Replies: 7
Views: 381

Just show annotations that match status

I want to just show annotations that match Approved, Completed status. At the moment I am looking through and checking each annotation status and if it does not match deleting the annotation from the document. However this is very slow, is there a faster command to achieve what I require? Thanks Simon
by lidds
Wed Aug 14, 2019 3:27 pm
Forum: PDF-XChange Editor SDK
Topic: Loop through just imported annotations...
Replies: 7
Views: 627

Re: Loop through just imported annotations...

Alex, The problem is that I cannot find any event that is fired when importing annotations that would allow me to get just the annotations being imported. When the op.document.importCommentsAndFields operation is called I would have expected the e.annots.inserted to be fired, or the op.annots.addNew...
by lidds
Tue Aug 13, 2019 4:12 pm
Forum: PDF-XChange Editor SDK
Topic: Loop through just imported annotations...
Replies: 7
Views: 627

Re: Loop through just imported annotations...

Alex, Sorry this was my mistake, the annots.changed event was firing because I was performing some other changes further down in my code. Therefore I still require some help on this that I only wish to process the annotations that are being imported, NOT all annotations on a document. As you could i...
by lidds
Wed Jul 10, 2019 12:36 pm
Forum: PDF-XChange Editor SDK
Topic: Change font colour when text box placed
Replies: 3
Views: 343

Re: Change font colour when text box placed

Does anyone have any ideas about this :D

Thanks

Simon
by lidds
Mon Jul 08, 2019 12:09 pm
Forum: PDF-XChange Editor SDK
Topic: Change font colour when text box placed
Replies: 3
Views: 343

Re: Change font colour when text box placed

Sorry to chase this up as I know I only posted it on Friday, but I was wondering if u have any idea about this?

Thanks

Simon
by lidds
Fri Jul 05, 2019 11:11 am
Forum: PDF-XChange Editor SDK
Topic: Change font colour when text box placed
Replies: 3
Views: 343

Change font colour when text box placed

I want to change the text colour of a text box. Now I know how to do this, however the problem I have is that the op.annots.addNew or actually any annot event is not fired when placing the text box. These events only seem to be fired when you either hit ESC or place another annotation element etc. T...