Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
How can I get the status information of an annotation element e.g. status (None, Completed etc.), name of person who applied status change and date of status change (if possible)
I am using the below code to loop through annotation elements, however I cannot see the status attribute in the mData variable?
Dim pSInt As PDFXEdit.IPXS_Inst = DirectCast(Me.docPreview.Inst.GetExtension("PXS"), PDFXEdit.IPXS_Inst)
Dim nID As Integer = Me.docPreview.Inst.Str2ID("op.annots.setProps", False)
Dim page As PDFXEdit.IPXC_Page = Me.docPreview.Doc.CoreDoc.Pages(0)
Dim nPageCount As UInteger = page.GetAnnotsCount()
For i As UInteger = 0 To nPageCount - 1
Dim annot As PDFXEdit.IPXC_Annotation = page.GetAnnot(i)
If annot.IsMarkup Then
Dim data As PDFXEdit.IPXC_AnnotData = annot.Data
Dim mData As PDFXEdit.IPXC_AnnotData_Markup = DirectCast(data, PDFXEdit.IPXC_AnnotData_Markup)
End If
Next
I did see this post but was hoping that this can be achieved using C# or VB.Net as I wanted to loop through the annotation elements and then pass attributes into a stored procedure to insert into a database.