Document offset

3 posts, 0 answers
  1. Wenjie
    Wenjie avatar
    35 posts
    Member since:
    Mar 2013

    Posted 03 Apr 2013 Link to this post

    Hi All,

    How do setting Document offset?I am using

    myPdfViewer.VerticalScrollBar.Value=100; Only Thumb bar moving,Document isnt moving.Do we have somesing like " myScrollViewer.ScrollToVerticalOffset(100);"?

    Thanks.

     

     

     

     

     

     

     

     

  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 04 Apr 2013 Link to this post

    Hi Wenjie,

    You can use Destination in order to change the current location of RadPdfViewer. The exact code should look like this:
    this.viewer.GoToDestination(new Destination(page, offsetX, offsetY));

    I hope this helps.

    All the best,
    Kammen
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Wenjie
    Wenjie avatar
    35 posts
    Member since:
    Mar 2013

    Posted 04 Apr 2013 Link to this post

    Thanks,

    It`s very helpful.It works.But offset is int not double.Let me try.

    Thanks.
Back to Top