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

How to add touchable views to PdfLayoutView?

More
10 years 8 months ago #10004 by Davide
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:
Code:
m_view.vSetScale(float scale, float fx, float fy)

For more info check this .
More
10 years 8 months ago #10018 by Davide
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.
Code:
page.AddAnnotBitmap(m_icon, true, rect);

If you want to edit the views, you have to modify the xml files or programmatically the classes.
Time to create page: 0.375 seconds
Powered by Kunena Forum