<?xml version="1.0" encoding="windows-1252"?>
<node id="1012402" title="CAM::PDF extract text and their coordinates from pdf.." created="2013-01-09 02:46:54" updated="2013-01-09 02:46:54">
<type id="115">
perlquestion</type>
<author id="925699">
umesh_epub</author>
<data>
<field name="doctext">
&lt;p&gt;Hi,&lt;/p&gt;
I want to extract pagecontent and their coordinates from pdf any other ways to get the output.

Please let me know.

&lt;code&gt;#! perl
use strict;
use warnings;
use CAM::PDF;
use CAM::PDF::PageText;

my $filename = 'test.pdf';
my $pdf = CAM::PDF-&gt;new($filename);
my $pageone_tree = $pdf-&gt;getPageContentTree(1);
print CAM::PDF::PageText-&gt;render($pageone_tree);&lt;/code&gt;

Thanks</field>
</data>
</node>
