Menu

How to set the zoom factor by program?

PDF
masai
2005-01-24
2013-04-29
  • masai

    masai - 2005-01-24

    Hello,

    I've just discovered Multivalent software. Unfortunately I've a lot of difficulties to find the documentation. It seems that the Berkley's Links don't work anymore.  I have read the different topics available on this forum but I've not found sufficient information to be able to manage the subject.
    Can anybody tell me how to set the zoom after that a pdf file has been loaded.
    Some code examples would be really useful.
    Thanks in advance.

     
    • Tom Phelps

      Tom Phelps - 2005-01-25

      multivalent.std.adaptor.pdf.PDF.setZoom(float), then reload the page

       
    • masai

      masai - 2005-01-25

      Thanks Tom for this first Help.
      I think that you have certainly others things to do than give basic information, but I really need a complete example. I don't know the interdependence between the different objects, that's why I am not able to manage your first answer. An example shows me all objects, which are necessary would be really helpful.
      (Browser, Document , Root, Pdf, etc.)
      Because I've seen that we are not under obligation to use Pdf class to show a PDF File, but without this class you cannot set the Zoom factor.
      I want to use your software to display pdf files, but without the standard interface and without creating image of each pages as Ive seen in other topics.

      Thanks in advance

       
    • Tom Phelps

      Tom Phelps - 2005-01-26

      Maybe it would help if you look at the architecture and document tree descriptions in the developer area and read through the source code for the Browser class.

       
    • masai

      masai - 2005-01-26

      Thank you very much for those really helpful advise. Do you believe that it's normal that for using an API you must analyse its source code before? Too bad!

       
    • Tom Phelps

      Tom Phelps - 2005-01-26

      The API is enough for experienced programmers, but you asked for an "example shows me all objects" or in other words source code.

       

Log in to post a comment.

MongoDB Logo MongoDB