DeleteAnnotation Error - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Planned SDK features
  • Page:
  • 1

TOPIC: DeleteAnnotation Error

DeleteAnnotation Error 1 year 3 months ago #11426

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
I use the 3.9RC Lib.

When I delete a annotation, the program goes down!

The following logs appear.

A / libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xfffffffc in tid 31128 (Thread-3037)

- code -
vo is Custom ValueObject

Page page = m_doc.GetPage(vo.PageNo);
page.ObjsStart();

int nIndex = page.GetAnnotIndexByRef(vo.AnnotRef);
if (nIndex != -1) {
Page.Annotation annot = page.GetAnnot(nIndex);
annot.RemoveFromPage();
page.Close();
}
if (m_layout != null) {
m_layout.vRenderSync(m_layout.vGetPage(vo.PageNo));

Can you help me?

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

DeleteAnnotation Error 1 year 3 months ago #11427

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 744
  • Karma: 16
  • Thank you received: 56
Hi,
can you reproduce the issue with the demo project ? Please check and try PDFRemoveAnnot() of PDFLayoutView..
With all the pdfs? All devices?
Can you please send us a pdf that causes the issue so we can check it?

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

  • Page:
  • 1
Powered by Kunena Forum