Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Cover visualization

More
IP: 192.168.0.71 11 years 11 months ago - 11 years 11 months ago #5986 by developer24
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:
Code:
|-------------|------------| | | | | | | | 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?
Last edit: 11 years 11 months ago by limmie.
More
IP: 192.168.0.71 11 years 11 months ago #5987 by radaee
Replied by radaee on topic Cover visualization
like these codes before view.vOpen():
Code:
PDFViewDual view = new PDFViewDual(this.getContext()); boolean paras[] = new boolean[1]; paras[0] = false; view.vSetLayoutPara(null, paras, m_rtol);
More
IP: 192.168.0.71 11 years 9 months ago #6437 by Haktic
Replied by Haktic on topic Cover visualization
where is solution to do this ?
More
IP: 192.168.0.158 11 years 9 months ago - 11 years 9 months ago #6438 by nermeen
Replied by nermeen on topic Cover visualization
In PDFReader.PDFOpen(Document, boolean, PDFReaderListener)
Code:
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; }
Last edit: 11 years 9 months ago by marcoP.
Time to create page: 0.399 seconds
Powered by Kunena Forum