RadaeePDF.com :: Topic: DeleteAnnotation Error (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Planned SDK features

TOPIC: DeleteAnnotation Error

DeleteAnnotation Error 9 months 6 days ago #11426

  • netmate
  • netmate's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 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?
The administrator has disabled public write access.

DeleteAnnotation Error 9 months 6 days ago #11427

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 671
  • Thank you received: 46
  • Karma: 13
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?
The administrator has disabled public write access.
Powered by Kunena Forum