- Posts: 35
- 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
Implement undo and redo feature for annotations
- bashirisonline
-
Topic Author
- Offline
- Junior Member
-
Less
More
IP: 192.168.0.71
12 years 2 months ago #6684
by bashirisonline
Replied by bashirisonline on topic Implement undo and redo feature for annotations
I don't have Matrix object as I get the annotation as:
m_annot = page.GetAnnotFromPoint(m_annot_pos.x, m_annot_pos.y);
I have to extract Matrix object from m_annot.
How can I get it?
m_annot = page.GetAnnotFromPoint(m_annot_pos.x, m_annot_pos.y);
I have to extract Matrix object from m_annot.
How can I get it?
- bashirisonline
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #6707
by bashirisonline
Replied by bashirisonline on topic Implement undo and redo feature for annotations
Hello nermeen,
Please help me to solve this problem.
Please help me to solve this problem.
IP: 192.168.0.158
12 years 1 month ago #6720
by nermeen
Replied by nermeen on topic Implement undo and redo feature for annotations
You can use Annotation.GetMarkupRects() to construct the matrix,
Or if you intercept the annotation creation, you can save index1 and index2 and use www.androidpdf.mobi/documentation/javado....html#AddAnnotMarkup (int, int, int) instead
Or if you intercept the annotation creation, you can save index1 and index2 and use www.androidpdf.mobi/documentation/javado....html#AddAnnotMarkup (int, int, int) instead
- bashirisonline
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #6726
by bashirisonline
Replied by bashirisonline on topic Implement undo and redo feature for annotations
The link you have provided is dead, please resend the link.
IP: 192.168.0.158
12 years 1 month ago #6727
by nermeen
Replied by nermeen on topic Implement undo and redo feature for annotations
it's a reference to the javadoc
www.androidpdf.mobi/documentation/javadocs/
www.androidpdf.mobi/documentation/javado....html#AddAnnotMarkup (int, int, int)
www.androidpdf.mobi/documentation/javadocs/
www.androidpdf.mobi/documentation/javado....html#AddAnnotMarkup (int, int, int)
- bashirisonline
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #6872
by bashirisonline
Replied by bashirisonline on topic Implement undo and redo feature for annotations
please provide a code snippet to do so, I am unable to get any result out of it.
Time to create page: 0.447 seconds