ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecOutputManager Class > WriteDirectText Method : WriteDirectText(ImGearRecPage,Stream) Method |
'Declaration Public Overloads Sub WriteDirectText( _ ByVal page As ImGearRecPage, _ ByVal toStream As Stream _ )
'Usage Dim instance As ImGearRecOutputManager Dim page As ImGearRecPage Dim toStream As Stream instance.WriteDirectText(page, toStream)
public void WriteDirectText( ImGearRecPage page, Stream toStream )
public: void WriteDirectText( ImGearRecPage* page, Stream* toStream )
public: void WriteDirectText( ImGearRecPage^ page, Stream^ toStream )
Use DirectTextFormatto get or set the output format.
The new recognition data will be written starting at the current position of the stream. When this method returns, the current position will be at the end of the stream, so you will need to set the position accordingly if you plan to read the stream later.
The following rules apply if the toStream parameter contains existing data: