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

TOPIC:

Get zoom minimum and maximum scale 11 years 10 months ago #4593

  • sahli.wa.skumar
  • sahli.wa.skumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
hi,

Please let me know where can i get the zoom minimum and maxumum scale in the PDFViewer code?

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

Get zoom minimum and maximum scale 11 years 10 months ago #4594

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

You can add a method PDFV class to return m_scale_min or m_scale_max, something like:

- (float)vGetScaleMin
{
return m_scale_min;
}

- (float)vGetScaleMax
{
return m_scale_max;
}

and get these values in PDFView class with:

[m_view vGetScaleMin];
[m_view vGetScaleMax];

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

  • Page:
  • 1
Powered by Kunena Forum