Zoom problem

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Viewer (v2)  /  Re: Zoom problem

DynamicPDF Viewer (v2) Forum

 Apr 29 2014 6:58 AM
I have a problem with zooming in and out.
When the document is first loaded, it displays fine.
However when i zoom out several times (until the page is smaller then the panel holding it) and zoom in again, it will not zoom the pdf bigger then the exact fit of the page inside the panel.
This is for the customer an unreadable size.

I have dynamically added the pdfviewer in a panel like this:
          pnlPDF.Visible = True
          Dim pdfViewer As New ceTe.DynamicPDF.Viewer.PdfViewer
          SetPdfViewerProperties(pdfViewer)
          pnlPDF.Controls.Add(pdfViewer)
          pdfViewer.Open(filename)

These are the properties which are being set:
 Private Sub SetPdfViewerProperties(ByRef pdfViewer1 As ceTe.DynamicPDF.Viewer.PdfViewer)
    pdfViewer1.Dock = DockStyle.Fill

    pdfViewer1.ShowBookmarkIcon = False
    pdfViewer1.ShowThumbnailIcon = False
    'pdfViewer1.PageMode = ceTe.DynamicPDF.Viewer.PageDisplayMode.SinglePage


    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.OpenFile).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator1).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Print).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator3).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.FirstPage).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PagePrev).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageNext).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageLast).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.TextBox8).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Label9).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.ViewPrev).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.ViewNext).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator12).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PanTool).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.TextSelectTool).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator15).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.TextBox16).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.ZoomVal).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.ZoomIn).Visible = True
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.ZoomOut).Visible = True
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator20).Visible = True
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.RotateClock).Visible = True
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.RotateCounterClock).Visible = True
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator23).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageModeSingle).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageModeSingelCont).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageModeTwoPage).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.PageModeTwoPageCont).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.Separator28).Visible = False
    pdfViewer1.ViewerToolbar.Items(ePdfToolStripItems.FindText).Visible = False
  End Sub
 Apr 29 2014 12:31 PM
Posted by a ceTe Software moderator
Hello,

Can you please send over the following details to support@cete.com so that we can look into it further?

1.Sample Input PDF.
2.Screenshot showing this behavior and more details by referring to the screenshot.
3.Exact version and build number of the DynamicPDF Viewer DLL file. You can get this information using Visual Studio References properties of the DynamicPDF Viewer DLL file.

Thanks,
ceTe Software Support Team.
 May 30 2014 4:41 PM
Posted by a ceTe Software moderator
Hello,

We have done some testing on this issue with the information provided by the customer and we were unable to recreate the issue. Zooming in and out works as expected.

Thanks,
ceTe Software Support Team.



All times are US Eastern Standard time. The time now is 8:17 PM.