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.
Public Sub importComments(ByVal annotationFileOID As String)
Dim nIDImport As Integer = pxvInst.Str2ID("op.document.importCommentsAndFields", False)
Dim opImport As PDFXEdit.IOperation = pxvInst.CreateOp(nIDImport)
Dim inputImport As PDFXEdit.ICabNode = opImport.Params.Root("Input")
inputImport.v = Me.docPreview.Doc
Dim optionsImport As PDFXEdit.ICabNode = opImport.Params.Root("Options")
optionsImport("FileName").v = MISData.Instance.DocShareName & "\Annotations\" & annotationFileOID & ".fdf"
opImport.Do()
End Sub
This all works perfectly, however what I was wondering is if there is a iterate through JUST the annotations contained in the imported file and not through any other annotations currently on the document?