Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Tue Aug 08, 2017 8:35 am

hi, iam using pdfviewer to load pdf file. instead of `go to page()` function. is there a way to load and view the page in 1/3 first or 1/2 first so i don't need to scroll to the half page.

Code: Select all
 
            If File.Exists(Application.StartupPath + "\foldersign" + "\Report" + last_code_receiptParent + ".pdf") Then
                Using x As FileStream = File.OpenRead(Application.StartupPath + "\foldersign" + "\Report.pdf")
                    PdfViewer1.LoadFromStream(x)
                End Using
            End If

nb: i have many pages in the pdf file. lets say i use `gotopage(8)` function. how do i automatically scroll to half page of page 8

thanks

blueeyeswhite
 
Posts: 15
Joined: Mon Jun 19, 2017 9:03 am

Tue Aug 08, 2017 10:02 am

Hello blueeyeswhite,

Thanks for your inquiry.
Concerning your requirement, sorry there' seems no way to get approach to it at present.
Apologize for the inconvenience.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDFViewer

cron