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

TOPIC:

How to add touchable views to PdfLayoutView? 8 years 3 months ago #10004

  • Davide
  • Davide's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you please better explain your needs?

To add view to PdfLayoutView you can add it programmtically in the class or you can edit pdf_layout.xml
To set zoom you can use the following method:
m_view.vSetScale(float scale, float fx, float fy)

For more info check this .

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

How to add touchable views to PdfLayoutView? 8 years 3 months ago #10018

  • Davide
  • Davide's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
if you want to add drawables to the pdf I think the best way to do this is using annotation.

You will find an example of how to add a bitmap annotation in PDFSetStamp() method of PDFReader class.
page.AddAnnotBitmap(m_icon, true, rect);

If you want to edit the views, you have to modify the xml files or programmatically the classes.
The following user(s) said Thank You: Mobile

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

  • Page:
  • 1
Powered by Kunena Forum