Displaying Multiple Pdfs - 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 iOS development and PDF
  • Page:
  • 1

TOPIC: Displaying Multiple Pdfs

Displaying Multiple Pdfs 2 years 10 months ago #10039

  • bhaskarpande
  • bhaskarpande's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi I am planning to use Radaee for viewing/editing Pdfs. However I am unable to display multiple Pdfs all at once. The Android library has a class SuperDoc.java that appears to be a superclass for multiple Document objects. I gather that this can be used on Android, to show multiple pdfs at one go, Is there an equivalent class for iOS

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

Displaying Multiple Pdfs 2 years 10 months ago #10055

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

In the RDPDFViewController class of the demo project, you can find the m_view and m_doc initialization in the PDFOpen method, that allows to show one pdf.
you can show multiple pdfs at the same time using multiple m_view and m_doc (m_view1, m_view2... m_doc1, m_doc2...), giving the correct frame to each PDFView instance.

For example:

m_view1 = [[PDFView alloc] initWithFrame:CGRectMake(0, 0, rect.size.width/2, rect.size.height)];
m_view2 = [[PDFView alloc] initWithFrame:CGRectMake(rect.size.width/2, 0, rect.size.width/2, rect.size.height)];

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

  • Page:
  • 1
Powered by Kunena Forum