Powershell C# get PDF Charactor Location
<p>Can someone tell me if there is a way to get each characters location in X,Y coordinates from a PDF.
i appreciate that it may not be XY i just need a way to identify where a text character is on a page.
the characters are not raster, so i don't need to recognise them.
i have started with this.</p>

<pre><code>$Path = "C:\temp\test.pdf"

$reader = New-Object iTextSharp.text.pdf.pdfreader -ArgumentList $Path

for ($page = 1; $page -le $reader.NumberOfPages; $page++)
{
$text = [iTextSharp.text.pdf.parser.PdfTextExtractor]::GetTextFromPage($reader,$page).Split([char]0x000A)
}

$reader.Close()
</code></pre>