Domanda

I am using ABCPDF for a project, I have no choice but to use an older version (ABCPDF 7) at this time.

When using Overridable Function AddImageDoc(doc As Doc, page As Integer, rect As XRect) As Integer the function is supposed to return the object id of the newly added image object, however when I use it it is returning the current page object id (return value is equal to XDoc.Page) I can also confirm that the object id is that of a page by calling XDoc.GetInfo(id, "Type") which returns "page".

enter image description here

Has anyone run into this before, or does anyone have any idea why this might be happening and how to fix it?

Thanks.

È stato utile?

Soluzione

This appears to an issue with this version of ABCPDF, it could be present in other versions too. I fixed this issue by upgrading to the latest version (ABCPDF 9).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top