ParseAttachment Method

Parses an XML document at the specified index.

Syntax

public void ParseAttachment(int index);
Public Sub ParseAttachment(ByVal Index As Integer)

Remarks

The component 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);

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 .NET Edition - Version 20.0 [Build 7941]