ImageGear23.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecOutputManager Class > WriteDirectText Method : WriteDirectText(ImGearRecPage[],Stream) Method |
'Declaration Public Overloads Sub WriteDirectText( _ ByVal pages() As ImGearRecPage, _ ByVal toStream As Stream _ )
'Usage Dim instance As ImGearRecOutputManager Dim pages() As ImGearRecPage Dim toStream As Stream instance.WriteDirectText(pages, toStream)
public void WriteDirectText( ImGearRecPage[] pages, Stream toStream )
public: void WriteDirectText( ImGearRecPage*[]* pages, Stream* toStream )
public: void WriteDirectText( array<ImGearRecPage^>^ pages, 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 position will be at the end of the stream, so you will need to set the position accordingly if you plan on reading the stream later.
The following rules apply if the toStream parameter contains existing data: