[MBS] DynaPDF: Read text (MBS Xojo Plugin Mailinglist archive)
Back to the thread list
Previous thread: [MBS] Please use latest plugins for Real Studio 2012 beta
Next thread: [MBS] More QTKit Questions
|Re: [MBS] CURL MissingFunctionException - Garth Hjelte|
|[MBS] DynaPDF: Read text - Heinz|
|Re: [MBS] DynaPDF: Read text - Christian Schmitz|
|[MBS] DynaPDF: Read text|
|Date: 14.06.12 08:48 (Thu, 14 Jun 2012 09:48:22 +0200)|
I am using the DynaPDF plugin.
I was able to add some text to an existing PDF (I've used the watermark sample).
For adding text I use this commands:
call pdf.WriteText(100, 100, "Some Text1")
call pdf.WriteText(100, 120, "Some more Text")
Now I need to read the text at these positions (100,100 and 100,120)
I had look at the samples "extract text" and "text extraction" but I can not figure out how to read some text from a given x/y position.
And I guess I need to provide a "length" for the text to read?
So basically I need something like this:
Text1 = pdf.readText (100,100,length)
Text2 = pdf.readText (100,120,length)
How could I do that?
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
|Re: [MBS] DynaPDF: Read text|
|Date: 14.06.12 08:49 (Thu, 14 Jun 2012 09:49:53 +0200)|
|From: Christian Schmitz|
Am 14.06.2012 um 09:48 schrieb Heinz:
> I had look at the samples "extract text" and "text extraction" but I can not figure out how to read some text from a given x/y position.
> And I guess I need to provide a "length" for the text to read?
You get something like coordinate and text, so you need to extract all text and see if you find some text on the given coordinates.