DPI of pdf file - 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
  • Page:
  • 1

TOPIC: DPI of pdf file

DPI of pdf file 3 years 5 months ago #7787

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • 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 3 years 5 months ago #7788

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
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 3 years 5 months ago #7791

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • 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