Search found 7 matches

by pdfuser
Tue May 10 2011
Forum: C/C++/C# Community
Topic: Move the position of a text annotation
Replies: 6
Views: 12134

Re: Move the position of a text annotation

Thanks for pointing me in the right direction on this one. Turns out that the return value 'default(int);' that is automatically generated by the IDE was causing the problem. I guess that this was causing the event to be canceled before it gets to the annotation. I changed the return value to 1 and ...
by pdfuser
Tue May 10 2011
Forum: C/C++/C# Community
Topic: Move the position of a text annotation
Replies: 6
Views: 12134

Re: Move the position of a text annotation

Thanks for the replies. I have a custom app that uses the Amyuni PDF Viewer control to view the PDF. The user can then click on the doc and add a text annotation at the spot where they clicked. The annotation is added in the Fire Moune Down event using the code from above. Still using the PDF viewer...
by pdfuser
Mon May 09 2011
Forum: C/C++/C# Community
Topic: Move the position of a text annotation
Replies: 6
Views: 12134

Re: Move the position of a text annotation

I am creating the text object and setting the annotation property to true. Here is the basic code for what I am doing: pdfCreator_Viewer.Document.ReportState = IacReportState.acReportStateAnnotate; Amyuni.PDFCreator.IacObject attribute = page.CreateObject(Amyuni.PDFCreator.IacObjectType.acObjectType...
by pdfuser
Mon May 09 2011
Forum: C/C++/C# Community
Topic: Move the position of a text annotation
Replies: 6
Views: 12134

Move the position of a text annotation

I have a program that allows users to add text annotations to a PDF document. I would like to give them the ability to move the text block once it has been added to the document. I have tried putting the document into into acReportStateAnnotate and calling LockAllObjects(false). This allows me to ed...
by pdfuser
Fri Apr 01 2011
Forum: C/C++/C# Community
Topic: Find Mouse Position in Drop Event?
Replies: 1
Views: 6154

Find Mouse Position in Drop Event?

I'm using the PDF Creator viewer control on a WinForm and would like to have a user be able drag a control onto the viewer, and create a sticky note at the location where they dropped the control. How can I determine the position of the mouse pointer so that I can place the sticky note there? I've h...
by pdfuser
Wed Mar 02 2011
Forum: Amyuni PDF Converter (PDF Printer Driver)
Topic: PDF printing does not generate events in my app. + windows 7
Replies: 3
Views: 5994

Re: PDF printing does not generate events in my app. + windows 7

Okay, I found the solution to my problem with not getting events. Ensure that you specify the BroadcastMessages option when setting the FileNameOptions property and make sure the values are in HEX. I missed the part about the values being in hex, and when specified as decimal, the events will not oc...
by pdfuser
Tue Mar 01 2011
Forum: Amyuni PDF Converter (PDF Printer Driver)
Topic: PDF printing does not generate events in my app. + windows 7
Replies: 3
Views: 5994

Re: PDF printing does not generate events in my app. + windows 7

Any information on this problem? I am seeing the same thing on Windows 7.
The only event I ever get is the Enable Printer event.