Expand my Community achievements bar.

Convert PDF to XML in .NET

Avatar

Level 2

Hi,

I am trying to convert a pdf file to xml using the exportpdf call of

GeneratePDFService api.

Private Function UTF8ByteArrayToString(ByVal characters() As Byte) As String

Dim res As String

Dim encUtf As New System.Text.UTF8Encoding

res = encUtf.GetString(characters)

Return res

End Function

This doesn't seem to convert the returned byteArray to xml format.Is there any example which i can go through to convert PDF to xml?

0 Replies