ParseAttachment Method
Parses an XML document at the specified index.
Syntax
public func parseAttachment(index: Int32) throws -> Void
Remarks
The class will try to parse the attachment at the specified Index. After ParseAttachment returns the document may be navigated by setting XPath.
Note: It is necessary to call the Load method before trying to parse attachments.
Example:
pdfxml.InputFile = "C:\input.pdf"; pdfxml.Load(); pdfxml.ParseAttachment(0); pdfxml.XPath = "/root/element"; Console.WriteLine(pdfxml.XText);