PDF button recognition in C# Windows App. [modified]
-
I need to reference some buttons that are in a PDF so that I can write an event handler for when the PDF button is pressed. I do have acrobat SDK, but am unfamiliar with how to reference the buttons within the PDF at runtime... Has anyone here tried to make a button press event in a PDF become an event in the windows app??? BTW, the PDF will be opened through the Adobe REader in my PDF, so it will be open within my app... I haven't found a way yet to reference the buttons within the PDF though, or subsequently create an event for their button press. It might be a simple help if someone could tell me if there's a way to open acrobat in a viewing window just like the adobe reader window in a C# app. Or is there a way to reference the file displayed in my PDF REader window as a "CAcroAVDoc" object. I'm beginning to think there's no way for the READER control to convey what button is pressed to the C# app. But I bet it would be easy with the full version of Acrobat. But I don't know how to get an acrobat window into my windows app like i can the adobe reader. Does this make sense to anyone??? I'm kinda new to this...
modified on Friday, April 17, 2009 1:45 PM
-
I need to reference some buttons that are in a PDF so that I can write an event handler for when the PDF button is pressed. I do have acrobat SDK, but am unfamiliar with how to reference the buttons within the PDF at runtime... Has anyone here tried to make a button press event in a PDF become an event in the windows app??? BTW, the PDF will be opened through the Adobe REader in my PDF, so it will be open within my app... I haven't found a way yet to reference the buttons within the PDF though, or subsequently create an event for their button press. It might be a simple help if someone could tell me if there's a way to open acrobat in a viewing window just like the adobe reader window in a C# app. Or is there a way to reference the file displayed in my PDF REader window as a "CAcroAVDoc" object. I'm beginning to think there's no way for the READER control to convey what button is pressed to the C# app. But I bet it would be easy with the full version of Acrobat. But I don't know how to get an acrobat window into my windows app like i can the adobe reader. Does this make sense to anyone??? I'm kinda new to this...
modified on Friday, April 17, 2009 1:45 PM
-
I have several of the open source libraries now available to me. I have looked at many of the examples, and there is an issue that I have not yet been able to resolve. Can you open the document in the Adobe Reader, but reference it's button click events through one of the other libraries??? I'm having a hard time figuring out how to identify it as an object of another library if the document is in the Adobe Reader. All of the examples are opening documents in their own adobe windows. I can't find a way to reference one in my Active X control.... Again, I'm new at this. BTW, does anyone have a link that will give me a quick rundown of what I'm looking at exactly when i download a library... I'm looking at folders without a clue of what they mean (bin, debug, release)...and i'm not sure about what all of the implications are behind file extensions(.cs, .dll, .csproj, .sln). I was hoping to find a tutorial or something to put it all together. (I'm trying to learn Visual C# with a strong background in VBA for excel. This means i understand syntax and stuff like that alright, but i'm still having a hard time with the framework of it all.)
-
I have several of the open source libraries now available to me. I have looked at many of the examples, and there is an issue that I have not yet been able to resolve. Can you open the document in the Adobe Reader, but reference it's button click events through one of the other libraries??? I'm having a hard time figuring out how to identify it as an object of another library if the document is in the Adobe Reader. All of the examples are opening documents in their own adobe windows. I can't find a way to reference one in my Active X control.... Again, I'm new at this. BTW, does anyone have a link that will give me a quick rundown of what I'm looking at exactly when i download a library... I'm looking at folders without a clue of what they mean (bin, debug, release)...and i'm not sure about what all of the implications are behind file extensions(.cs, .dll, .csproj, .sln). I was hoping to find a tutorial or something to put it all together. (I'm trying to learn Visual C# with a strong background in VBA for excel. This means i understand syntax and stuff like that alright, but i'm still having a hard time with the framework of it all.)
When you download a library these are the file types: *.cs = c# file can be opened in notepad but opens as default in Visual Studio *.csproj = a c# project file *.sln = a solution file to be opened with Visual Studio which opens all the .cs and .csproj related to it. *.dll = dynamic linked library. The compiled project. release folder should contain the .dll or .exe which is the finished compiled project debug is where Visual studio places compiled projects when they are being tested(debugged) Sorry I don't have any more info on your problem. I've never had to do it before :sigh: