- Posts: 16
- Thank you received: 0
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
Convert PDF coordinates to view layout coord
IP: 192.168.0.71
8 years 5 months ago #12993
by geertvm
Replied by geertvm on topic Convert PDF coordinates to view layout coord
Related to this overlay...I had to change the PDFLayoutView by adding the OnPageDisplayed() in the PDFLayoutListener interface.
This way I can add some info on the canvas when the page is displayed. Can it be part of the next release?
This way I can add some info on the canvas when the page is displayed. Can it be part of the next release?
IP: 192.168.0.71
8 years 5 months ago #12995
by nermeen
Replied by nermeen on topic Convert PDF coordinates to view layout coord
Ok it will be part of the next release.
Code:
public interface PDFLayoutListener
{
...
void onPDFPageDisplayed(Canvas canvas, VPage vpage);
...
}
IP: 192.168.0.71
8 years 5 months ago #12997
by geertvm
Replied by geertvm on topic Convert PDF coordinates to view layout coord
Thanks...
Is there a way to
1. get a list of all signature fields (visible and invisible)
2. get the PDF coordinates of visible signature fields.
Is there a way to
1. get a list of all signature fields (visible and invisible)
2. get the PDF coordinates of visible signature fields.
IP: 192.168.0.71
8 years 5 months ago #12998
by Davide
Replied by Davide on topic Convert PDF coordinates to view layout coord
Hi,
you can get the annotations using page.GetAnnot(int index)
For more info check this : www.radaeepdf.com/documentation/javadocs...e.html#GetAnnot-int-
Then you can check the annot type, coordinates and status (visible or invisible etc..) using the following methods :
Combining these methods, you wil get what you want..
you can get the annotations using page.GetAnnot(int index)
For more info check this : www.radaeepdf.com/documentation/javadocs...e.html#GetAnnot-int-
Then you can check the annot type, coordinates and status (visible or invisible etc..) using the following methods :
Code:
annot.GetType();
annot.GetFieldType();
annot.GetRect();
annot.IsHide();
Combining these methods, you wil get what you want..
IP: 192.168.0.71
8 years 5 months ago #12999
by geertvm
Replied by geertvm on topic Convert PDF coordinates to view layout coord
I've tried
Page p = m_doc.GetPage0();
int i = p.GetAnnotCount();
It gives me 0 annotations (with the document I've sent before)
This has 2 visible signature fields...
Page p = m_doc.GetPage0();
int i = p.GetAnnotCount();
It gives me 0 annotations (with the document I've sent before)
This has 2 visible signature fields...
IP: 192.168.0.71
8 years 5 months ago #13000
by geertvm
Replied by geertvm on topic Convert PDF coordinates to view layout coord
I suppose this is a license issue...
Is it possible to evaluate the professional licence?
Is it possible to evaluate the professional licence?
Time to create page: 0.380 seconds