Search found 417 matches

by lidds
Tue Oct 08, 2019 4:06 pm
Forum: PDF-XChange Editor SDK
Topic: Add custom attributes to annotation
Replies: 1
Views: 15

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: 91

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: 38

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: 91

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: 87

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: 91

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: 87

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: 87

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: 87

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: 337

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: 337

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: 108

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: 108

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: 108

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...
by lidds
Mon Jun 03, 2019 1:44 pm
Forum: PDF-XChange Editor SDK
Topic: Loop through just imported annotations...
Replies: 7
Views: 337

Re: Loop through just imported annotations...

Alex,

I have looked at the link provided and am unable to determine how I can get the annot element of just the imported file. Is it possible for you give me a code snippet, I have got pretty good with the SDK, but can't figure this one out.

Thanks for your help

Simon
by lidds
Wed May 15, 2019 2:29 pm
Forum: PDF-XChange Editor SDK
Topic: Write freehand text
Replies: 3
Views: 1112

Re: Write freehand text

Thanks Alex, I'll look into this. I did also notice on the end user editor forum that people have been discussing this and said that the pencil tool is good in PDF change for freehand writing. But it was said that the line smoothing value in PDF xchange needs to be reduced in the registry for the pe...
by lidds
Wed May 15, 2019 2:04 pm
Forum: PDF-XChange Editor SDK
Topic: Write freehand text
Replies: 3
Views: 1112

Write freehand text

I was wondering if there is a tool that allows for freehand text writing?

Thanks

Simon
by lidds
Fri May 10, 2019 3:26 pm
Forum: PDF-XChange Editor SDK
Topic: Change colour of annot text colour
Replies: 10
Views: 3028

Re: Change colour of annot text colour

Thanks Alex,

I'll give this a try over the weekend.

Thanks for your help

Simon
by lidds
Fri May 10, 2019 12:41 pm
Forum: PDF-XChange Editor SDK
Topic: Change colour of annot text colour
Replies: 10
Views: 3028

Re: Change colour of annot text colour

Alex, A couple of questions as always. 1. How do I set the new richtext back to the annotation element? 2. I am working with annotation export files and I have noticed that in the fdf file the tichtext is within this file. I was wondering if I can use javascript to return the current richtext of an ...
by lidds
Wed Apr 17, 2019 11:56 am
Forum: PDF-XChange Editor SDK
Topic: Annotation selection background colour
Replies: 3
Views: 721

Re: Annotation selection background colour

Thanks Alex,

I will give this a go.

How would I go about distributing this modified Theme.xml with my product?

Thanks

Simon
by lidds
Wed Apr 17, 2019 10:49 am
Forum: PDF-XChange Editor SDK
Topic: Annotation selection background colour
Replies: 3
Views: 721

Annotation selection background colour

My customers are mentioning that it is hard to see which annotations are selected looking at the Comments pane. The issue that I have found is that if you select the comment from the annotations list in the Comment Pane then the background colour changes greatly, in my case blue, see below: blue.png...
by lidds
Wed Mar 06, 2019 2:26 pm
Forum: PDF-XChange Editor SDK
Topic: Group and Ungroup a collection of annotations
Replies: 3
Views: 755

Re: Group and Ungroup a collection of annotations

Thanks Alex,

Appreciated as always.

Simon
by lidds
Wed Mar 06, 2019 11:52 am
Forum: PDF-XChange Editor SDK
Topic: Group and Ungroup a collection of annotations
Replies: 3
Views: 755

Group and Ungroup a collection of annotations

I was wondering if there is a way that I can Group a selection of annotations together, and allowing the following: Example: There are 3 annotation lines. Select all 3 lines Right click and select group When selecting any of the 3 annotation lines it selects all 3 And therefore: 1. Displayed as one ...
by lidds
Tue Feb 26, 2019 5:08 pm
Forum: PDF-XChange Editor SDK
Topic: Is there a way to remove annot state
Replies: 1
Views: 528

Is there a way to remove annot state

I am using the following code to set annotation state to None, however I would actually like to complete remove any existing annotation state. Is this possible? ' Change all annotation elements to selected status Dim JS As New StringBuilder JS.AppendLine("//JS Code to search for an annotation and ge...
by lidds
Fri Jan 25, 2019 3:55 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Alex, Thank you for your help. It turns out you can do the following code, without having to intercept any events and the PDF API will switch automatically to that document if it is loaded in the viewer. Dim dest As PXC_Destination = New PXC_Destination dest.nType = PXC_DestType.Dest_Fit Dim AL As I...
by lidds
Fri Jan 25, 2019 12:40 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Hi Alex,

Sorry to hassle you but this is the last thing I need to do to finish this, is there any chance you could assists.

Thanks

Simon
by lidds
Thu Jan 24, 2019 3:35 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Alex,

You are right, sorry been one of those long days that I should have known this.

I am however still struggling with working out the code to make me jump to the document. I have added a screen image to hopefully better explain.

Thanks

Simon
LinkJumpCode.png
by lidds
Thu Jan 24, 2019 3:04 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Alex, I am using the following code to add a link to the document, which works great. Apart from the fact that I am assigning a grey dash border to the link boundary, however this border does not display unless I click the link. It is almost like the page needs to do a refresh or something? Dim firs...
by lidds
Thu Jan 24, 2019 1:49 pm
Forum: PDF-XChange Editor SDK
Topic: Resize Page
Replies: 9
Views: 528

Re: Resize Page

Thanks Alex, and also googled and you can multiply points by 2.835 to get to millimetres.

Thanks

Simon
by lidds
Thu Jan 24, 2019 1:45 pm
Forum: PDF-XChange Editor SDK
Topic: Resize Page
Replies: 9
Views: 528

Re: Resize Page

Alex,

You are absolutely correct, sorry my error. However now another question, is there a way to get the page size in points, or a way to convert a page size from mm to points?

Thanks

Simon
by lidds
Thu Jan 24, 2019 1:14 pm
Forum: PDF-XChange Editor SDK
Topic: Resize Page
Replies: 9
Views: 528

Re: Resize Page

Alex,

I am specifying the PaperType value to 2 which is custom, see code in original post. Please note the standard PaperType code is commented out.

Thanks

Simon
by lidds
Thu Jan 24, 2019 12:52 pm
Forum: PDF-XChange Editor SDK
Topic: Resize Page
Replies: 9
Views: 528

Re: Resize Page

Thanks Alex, I am using the below code to resize my page. However I have found something a bit strange. If I use a standard page size e.g. A3 which is StdPaperIndex 3 it all works fine. However if I specify a custom paper size e.g. W = 419.9 H = 269.9 the code works but sets the paper size to W = 14...
by lidds
Wed Jan 23, 2019 5:06 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Actually thinking about this a little more, this link item could work. However is there a way to add some text to the link e.g. "Jump to document"

Thanks

Simon
by lidds
Wed Jan 23, 2019 2:11 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Re: Add a link item to a document to jump to another

Alex, Thanks for the advise. I'm still currently working on this, but am using the following code to add the link. The link works fine, however it does not appear as an annotation element in the comments pane and therefore I cannot export this to an annotation file. Am I doing something wrong? Dim f...
by lidds
Wed Jan 23, 2019 10:14 am
Forum: PDF-XChange Editor SDK
Topic: How to set print GUI options
Replies: 3
Views: 559

Re: How to set print GUI options

Alex,

Thank you for the advise. However I am using the "cmd.print" command and unfortunately this does not fire the e_operBeforeExecute event?

Is there another way?

Thanks

Simon
by lidds
Wed Jan 23, 2019 10:12 am
Forum: PDF-XChange Editor SDK
Topic: Select crop pages option
Replies: 4
Views: 386

Re: Select crop pages option

Alex,

Thank you for the advise. However I am using the "cmd.tool.cropPage" command and unfortunately this does not fire the e_operBeforeExecute event?

Is there another way?

Thanks

Simon
by lidds
Wed Jan 16, 2019 11:21 pm
Forum: PDF-XChange Editor SDK
Topic: Add a link item to a document to jump to another
Replies: 11
Views: 661

Add a link item to a document to jump to another

I have a document loaded and I give the user the option to create a duplicate copy of the document and then crop it, which all works fine. These two document are then linked within my database and this means that they are always load together in the viewer. This procedure is able to be repeated so, ...
by lidds
Wed Jan 16, 2019 11:04 pm
Forum: PDF-XChange Editor SDK
Topic: Resize Page
Replies: 9
Views: 528

Resize Page

Is there a way that I can achieve the "Resize Pages" functionality via code, but pass a paper size and orientation e.g. 297 x 420 Landscape?

Basically to achieve the same thing that the "Resize Pages" form does, as shown below:
ResizePage.png
Thanks

Simon
by lidds
Wed Jan 16, 2019 11:01 pm
Forum: PDF-XChange Editor SDK
Topic: Select crop pages option
Replies: 4
Views: 386

Select crop pages option

Is there a way that I can automatically select the "Remove the content outside of the crop box area" checkbox, as shown below:
CropOption.png
Thanks

Simon
by lidds
Thu Jan 10, 2019 3:38 pm
Forum: PDF-XChange Editor SDK
Topic: Change colour of annot text colour
Replies: 10
Views: 3028

Re: Change colour of annot text colour

Alex, Thank you for the info, however I do not want to change the formatting etc if the text. I have just had a play around with your text commandbar and this allows you to change the font colour and does not override the formatting. Would it be possible for the developers to make available the meth...
by lidds
Thu Jan 10, 2019 3:31 pm
Forum: PDF-XChange Editor SDK
Topic: Modifying size of annotation on touchScreen
Replies: 12
Views: 1069

Re: Modifying size of annotation on touchScreen

Alex, I have tried the touch screen mode again on your latest build and I am still unable to modify the size of the annotations. I can select the annotations and the handles appear on the annotation elements, however if I try to grab the bottom right handle it always defaults to moving the annotatio...
by lidds
Wed Jan 09, 2019 11:53 pm
Forum: PDF-XChange Editor SDK
Topic: Hide tab tooltip
Replies: 1
Views: 235

Hide tab tooltip

Is there a way to hide the document tab tooltip that shows the document location, or alternatively change the tooltip to the document name?

Thanks

Simon
by lidds
Wed Jan 09, 2019 11:47 am
Forum: PDF-XChange Editor SDK
Topic: Rotated Text Box moves when importing annot file
Replies: 20
Views: 1237

Re: Rotated Text Box moves when importing annot file

Alex,

Thank you so much this has resolved the issue.

Fantastic support as usual.

Thanks

Simon
by lidds
Tue Jan 08, 2019 11:26 am
Forum: PDF-XChange Editor SDK
Topic: Rotated Text Box moves when importing annot file
Replies: 20
Views: 1237

Re: Rotated Text Box moves when importing annot file

Alex, I have just tested on build 328.1 with a newly created annotation export file and the problem still is there. I don't think my customer will be able to wait until Spring to get this resolved as they are on my case at the moment. Could you ask your developer if there is a work around, even if i...
by lidds
Tue Jan 08, 2019 11:14 am
Forum: PDF-XChange Editor SDK
Topic: Change colour of annot text colour
Replies: 10
Views: 3028

Re: Change colour of annot text colour

Alex,

Sorry to bother you as I know I only posted this yesterday, but this is the last thing I need to resolve prior to releasing my new version of software, if you have time could you have a look at the for me.

Thanks

Simon
by lidds
Tue Jan 08, 2019 10:06 am
Forum: PDF-XChange Editor SDK
Topic: Customise colour dropdown
Replies: 8
Views: 962

Re: Customise colour dropdown

Thanks Alex,

Worked perfectly.

Thanks for your help

Simon
by lidds
Mon Jan 07, 2019 3:56 pm
Forum: PDF-XChange Editor SDK
Topic: Rotated Text Box moves when importing annot file
Replies: 20
Views: 1237

Re: Rotated Text Box moves when importing annot file

Hi Alex,

Sorry to bother you again, but I was just wondering if there is any update on this?

Thanks

Simon
by lidds
Mon Jan 07, 2019 3:27 pm
Forum: PDF-XChange Editor SDK
Topic: Customise colour dropdown
Replies: 8
Views: 962

Re: Customise colour dropdown

Alex, I have got this working now and the color is being successfully added to the color picker. However the problem is that I now wish to hide the "Standard Colors" and also the "More Colors" button from the colorPicker. I have added my code below for info purposes: Public Sub OnNotify(ByVal nCode ...
by lidds
Mon Jan 07, 2019 10:27 am
Forum: PDF-XChange Editor SDK
Topic: Change colour of annot text colour
Replies: 10
Views: 3028

Re: Change colour of annot text colour

Alex, I must be doing something wrong as the below code does not seem to change the text colour, could you please let me know what I am doing wrong? ElseIf e.nEventID = nIDS(CInt(IDS.e_document_afterChangePagesList)) Then Debug.WriteLine("e_document_afterChangePagesList") Dim nID As Integer = Me.doc...
by lidds
Sat Jan 05, 2019 2:14 pm
Forum: PDF-XChange Editor SDK
Topic: Change annot fill colour only if one exists
Replies: 3
Views: 350

Re: Change annot fill colour only if one exists

Thanks Alex, I get I can build up a separate list of annotations that I want to change the fill colour of and apply the fill options to that list, however is there a command to tell if an annotation item has a full applied to it?

Thanks

Simon