Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

DPI of pdf file 9 years 5 months ago #7787

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
How to get the DPI of the pdf file viewed in PDFReader. Is there any existing API? Please suggest.

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

DPI of pdf file 9 years 5 months ago #7788

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
PDF file always DPI is 72.
so you can get DPI as:
72 * PDFView.vGetScale();

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

Last edit: by .

DPI of pdf file 9 years 5 months ago #7791

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
PDFView.vGetScale() this methods return different vlues when zooming the pdf file.

So when multiply the scale value with 72 then we get the currect value or not ???

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

  • Page:
  • 1
Powered by Kunena Forum