Hi,
As per the page -- http://print2flash.com/help/DocumentAPIFunctions.php
under Search, there is a function -- "SearchText(text)"
and under text selection there is a function -- "setTextSelectionRange(sel:SelectionRange)"
how do I use the above functions in the Asp.Net sample code provided.
Basically when a file is printed, I would like to read the contents and search for some text and then save that as an swf file or as a text file. Its a little urgent, ur help is greatly appreciated.
Thanks,
Rag
how to search text using the Document API
-
- Posts:1
- Joined:Fri Jun 22, 2012 11:55 am
Re: how to search text using the Document API
The Document API works with documents already converted to Flash. So you have to convert a document to Flash first, then load the document in the browser or another Flash movie, and afterwards access that document API using guidelines set out in this help topic: http://print2flash.com/help/ProgrammaticInterface.php
You cannot do this directly from within the ASP.NET sample from Print2Flash SDK as this sample demonstrates using Print2Flash OLE Automation API and not Document API.
We think the best way is to analyze original document text BEFORE you convert it to Flash using some API for document access. For example, to access Word documents content, you may use Word Automation API.
You cannot do this directly from within the ASP.NET sample from Print2Flash SDK as this sample demonstrates using Print2Flash OLE Automation API and not Document API.
We think the best way is to analyze original document text BEFORE you convert it to Flash using some API for document access. For example, to access Word documents content, you may use Word Automation API.