vZoomSet method chang the scale value I set - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF

TOPIC: vZoomSet method chang the scale value I set

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9785

  • sekorm
  • sekorm's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
There are three properties in the PDFLayout Class:
max_scale 、 min_scale 、 scale

for some pdf file (each page that width and height are not the same value),
after I invoke the method "vZoomSet" of the Class PDFLayout to set the scale value to
0.8f or some other value,
it will be set to the min_scale value after the invoke of the method "vZoomSet".
We have no idea of it.

We are using the PDFViewer3.4.zip release with Professional License,
Plz do us a favor for this question, Thanks a lot!!!!



One more question:

some pdf can not be rendered normally , pics can not be rendered.
(plz check the attachment pic )

Hope for your reply !!!!!!
Attachments:

Please Log in or Create an account to join the conversation.

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9795

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
you are using an old version of the library, can you reproduce this issue with the last version of the library?

Can you please better explain the issue and how to reproduce it?
Can you send us the pdf that causes the issue and the lines of code you are using?

I suggest you to look at vSetScale(float, float, float) method to set zoom http://www.radaeepdf.com/documentation/javadocs/com/radaee/view/PDFView.html#vSetScale(float, float, float)

And:
  • vGetScale()
  • vGetMaxScale()
  • vGetMinScale()
to get zoom state.

Please Log in or Create an account to join the conversation.

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9796

  • sekorm
  • sekorm's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Please check the attachments below
sekorm.pdf for the scale value problem;

EPSON.pdf for the render problem.

Please Log in or Create an account to join the conversation.

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9797

  • sekorm
  • sekorm's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Please check the attachments below
sekorm.pdf for the scale value problem;

EPSON.pdf for the render problem.

Please Log in or Create an account to join the conversation.

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9798

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
there is no attachment.
Have you tried with the last version of the library and with the methods I suggested you?

Please Log in or Create an account to join the conversation.

vZoomSet method chang the scale value I set 3 years 4 weeks ago #9799

  • sekorm
  • sekorm's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
we have a requirement,
to fit the mobile height by pdf page height or mobile width by pdf page width when the mobile shown in landscape mode ;
but when the page sizes are not the same, it can hardly to make this requirement achieve,
only when the page sizes are the same can we make this requirement achieve

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum