ImageGear .NET - Updated
WriteDirectText(ImGearRecPage,Stream) Method




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecOutputManager Class > WriteDirectText Method : WriteDirectText(ImGearRecPage,Stream) Method
ImGearRecPage object with the valid recognition data to be written.
System.IO.Stream object to which the recognition data will be written.
Writes the recognition data of the page to the output stream in the direct text format.
Syntax
'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
) 

Parameters

page
ImGearRecPage object with the valid recognition data to be written.
toStream
System.IO.Stream object to which the recognition data will be written.
Remarks

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:

See Also

Reference

ImGearRecOutputManager Class
ImGearRecOutputManager Members
Overload List