Page 1 of 1

Scrollbar of Sticky Note box

Posted: Thu Aug 31, 2017 6:23 am
by crimsonlogic
Hi,

We are using the Viewer SDK to develop a document viewer, and allow user to add annotation or comments.
Is possible to show a scrollbar once the content in sticky note box is too long? and how?

Thanks

Re: Scrollbar of Sticky Note box

Posted: Thu Aug 31, 2017 9:48 am
by Tracker Supp-Stefan
Hello crimsonlogic,

I believe those scrollbars were added only in the Editor, but please do make sure that you test with the latest Viewer build - and if they are not present - then I am afraid that there is no way for you to activate them, as this was simply not implemented in the Viewer (and it's SDK).

Regards,
Stefan

Re: Scrollbar of Sticky Note box

Posted: Mon Sep 11, 2017 8:39 am
by crimsonlogic
Thanks for your answer.

Can I ask another question here?

I want know the highlight content once user highlight some words in the viewer, in another word it's possible to take the content once user finish the highlight?
can I just send the content into clipboard after user highlight something?

Tracker Supp-Stefan wrote:Hello crimsonlogic,

I believe those scrollbars were added only in the Editor, but please do make sure that you test with the latest Viewer build - and if they are not present - then I am afraid that there is no way for you to activate them, as this was simply not implemented in the Viewer (and it's SDK).

Regards,
Stefan

Re: Scrollbar of Sticky Note box

Posted: Mon Sep 11, 2017 8:52 am
by crimsonlogic
I found a way like below:
1 click the edit from top menu
2 click preference
3 click the commenting tab
4 check the "copy selected text into highlight ..."

so when I double the highlight will get the comment box and with the content.

my question is how can I enable it in C# code.
crimsonlogic wrote:Thanks for your answer.

Can I ask another question here?

I want know the highlight content once user highlight some words in the viewer, in another word it's possible to take the content once user finish the highlight?
can I just send the content into clipboard after user highlight something?

Tracker Supp-Stefan wrote:Hello crimsonlogic,

I believe those scrollbars were added only in the Editor, but please do make sure that you test with the latest Viewer build - and if they are not present - then I am afraid that there is no way for you to activate them, as this was simply not implemented in the Viewer (and it's SDK).

Regards,
Stefan

Re: Scrollbar of Sticky Note box

Posted: Mon Sep 11, 2017 4:13 pm
by Tracker Supp-Stefan
Hello crimsonlogic ,

You can listen for the selection event:
https://help.pdf-xchange.com/DEV/de ... _selection
And when your user selects some text - get what he has selected:
https://help.pdf-xchange.com/DEV/de ... ctedranges

Or if you mean actual highlights (placing a highlight annotation) - there are similar events for annotations.

Regards,
Stefan