DeleteAnnotation Error - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Planned SDK features
  • Page:
  • 1

TOPIC: DeleteAnnotation Error

DeleteAnnotation Error 1 year 7 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 7 months ago #11427

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 803
  • Karma: 16
  • Thank you received: 63
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