开发者

Accept a pdf page drop into a C# windows form application

I am trying to allow users to drag a page from a PDF pages tab into a C# listbox control. The only information I need from acrobat is the file name of the document they are dragging f开发者_开发技巧rom and the page number/numbers they have dragged over. I tried finding out this information from the debugger(add a break point at my dragenter event handler then look at the dragEventArgs). From that I see a Forms.DataObject but that seems to have no public properties.

My questions:

Does the DataObject hold the PDF file name and the selected pages that are being draged over?

Is this information accessible?

If it is not accessible this way is there a work around?

Thanks for any help you can share.

Will


The information in the DataObject totally depends on the source of the dragdrop operation. WHat app/ control is the source of the dragdrop? Does it put the information you are looking for when the dragdrop starts?


Posted this question on the adobe site and they say that this functionality is not supported by their documentation. Guess I'm out of luck.


See https://forums.adobe.com/thread/1688371?q=drag%20page . Looks like someone made some progress but either didn't share the outcome or gave up. I suspect the latter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜