🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #5302

automatic scrolling programetically in .net

#5302
From: virajdoshi
Date: Wed, 10 Sep 2008 22:36
11 lines
1414 bytes
I m using vb.net and activex component (interop) of adobe reader 8. I need to show the pdf file on the screen and automatically scroll it.

There is a command in the reader itself that allows the pdf file to scroll automatically. (view > automatically scroll).

Is there any way to do the same thing programatically ? I tried using a method called setViewScroll - AxAcroPDFLib.AxAcroPDF.setViewScroll (viewMode as string, offset as Single). I did this in a for loop so the pdf starts to scroll but as it scroll down, the scrolling is too fast.

Is there any way to scroll the pdf automatically within vb.net code ?

will i be able to get the same result if i use adobe acrobat sdk and its scrollTo method ? in the sdk, the scrolling looks ok but how do i set the layoutmode ? (I need the layout mode to be onecolumn - continous page facing)

Thanks
Technical Details
Message-ID: <59b67345.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,ccaa77d486710754,start
X-Google-Attributes: gid10273d,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: virajdoshi@adobeforums.com
Newsgroups: adobe.reader
Subject: automatic scrolling programetically in .net
Message-ID: <59b67345.-1@webcrossing.la2eafNXanI>
Date: Wed, 10 Sep 2008 15:36:46 -0700
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossing