Cover visualization - 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: Cover visualization

Cover visualization 4 years 3 days ago #5986

  • developer24
  • developer24's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi everybody, I'm looking for a view that shows two pages of a document, but with page number one shown on the right, like a book (pages with odd numbers are always on the right in a book). This is because the first page in our clients' catalogues are always the covers of the catalogues. So, I'd like the visualization to be like the following:
|-------------|------------|
|             |            |
|             |            |
|  grey color | first page |
|             |            |
|             |            |
|-------------|------------|

|-------------|------------|
|             |            |
|             |            |
| second page | third page |
|             |            |
|             |            |
|-------------|------------|
I tried by using all the visualization modes that come with the library, but with no success. Is there a way of doing this?

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

Last Edit: by limmie.

Cover visualization 4 years 3 days ago #5987

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
like these codes before view.vOpen():
       	PDFViewDual view = new PDFViewDual(this.getContext());
       	boolean paras[] = new boolean[1];
       	paras[0] = false;
       	view.vSetLayoutPara(null, paras, m_rtol);
The following user(s) said Thank You: limmie

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

Cover visualization 3 years 10 months ago #6437

  • Haktic
  • Haktic's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
where is solution to do this ?

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

Cover visualization 3 years 10 months ago #6438

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58
In PDFReader.PDFOpen(Document, boolean, PDFReaderListener)
case 6: //or 3
{
PDFViewDual view = new PDFViewDual(this.getContext());
boolean paras[] = new boolean[1];
paras[0] = false;
view.vSetLayoutPara(null, paras, m_rtol);
m_view = view;
}

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

Last Edit: by marcoP.
  • Page:
  • 1
Powered by Kunena Forum