Snap in panel width

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
ErikD
Posts: 8
Joined: Wed Jun 10, 2015 7:34 pm

Snap in panel width

Post by ErikD » Thu Jun 11, 2015 11:18 pm

Hi,

I see in the server side object, there is a property named "SnapInPanelDefaultWidth" where I can set the initial width of the snap in panel.

The end user can then change the width of the panel while viewing a document.

I would like to save the width of the snap in panel as part of the end user's preferences so that I can set it next time they log in or view a document.

Could you add either a client or server side event for when the snap in panel width changes and a way to get the current width so that I can save that value?

For client side, maybe something like:

DocuViewareAPI.RegisterOnSnapInPanelChanged('dvw1', callback);

DocuViewareAPI.GetSnapInPanelWidth('DocuVieware1');

Or maybe implement that as a server side event and property?

Thanks,
Erik D.

Romain
Posts: 15
Joined: Wed Jun 03, 2015 4:12 pm

Re: Snap in panel width

Post by Romain » Wed Aug 26, 2015 9:21 am

Hello Erik

Sorry for the late reply.
We will add two Javascript API to do this, one for setting the panel width, another one to get it.
I will keep you informed when these two functions will be available.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Snap in panel width

Post by Loïc » Thu Sep 03, 2015 7:14 pm

Hello,

The new release including the two method has been published.

See: #p16276

We hop this helps!

Cheers,

Loïc

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest