> I wondered where the full documentation is for this compoent. > > The pdf viewer will do things like hightlight test you want to search for, > but I wondered if there is a machanism of 'going to' the first occurrence. > > There is a couple of goto properties, but the mini-help which come up but > no explanation of how to use them. > > Regards > > Richard >
Here is what I could guess by reading the source code of the component: PdfDocument[Page].Find() will search all occurences of a text into the specified page. Then: PdfDocument[Page].Result.Count returns the number of matches, and PdfDocument[Page].Result[Index] a virtual object that represents the rectangle surrounding the text in the page. Maybe if Index = 0, you have the first match? Is it what you are looking for? -- Benoît Minisini ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user