When I try to read this XML:
<?xml version="1.0" encoding="UTF-8"?>
This is from the XML file.
This is a different size.
with this code:
Dim sectionXml As Section = m_Pdf.Sections(“Section1”)
Dim headerXml As New HeaderFooter(sectionXml)
Dim textUser As Aspose.Pdf.Text = CType(headerXml.Paragraphs(“Info”), Aspose.Pdf.Text)
I get this error:
Paragraph ID not found in Paragraphs indexer: Info
How can I read a text object into my PDF? I can read a single segment, but I want to read a Text object which contains a number of segments.
Thanks ,
Edward
Dear Edward,
Thank you for considering Aspose.
I note that you defined Text ‘Info’ in Section ‘Section1’ in your XML, but you read the text paragraph from the HeaderFooter(headerXml). Did you make a mistake here?