Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Planned SDK features
  • Page:
  • 1

TOPIC:

DeleteAnnotation Error 7 years 5 months ago #11426

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 7 years 5 months ago #11427

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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