Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ABBYY FineReader Engine API の IFileWriter インターフェイス — ファイル書き込みストリーム用のクライアント側インターフェイス。FineReader Engine のファイル出力を任意の出力先に送るために使用します。
C# コード
public class FileWriter : FREngine.IFileWriter { public FileWriter( string _resultsPath ) { resultsPath = _resultsPath; } public void Open( string fileName, ref int bufferSize ) { string resultsFilePath = resultsPath + fileName; stream = new FileStream( resultsFilePath, FileMode.Create ); } public void Write( byte[] data ) { stream.Write( data, 0, data.Length); } public void Close() { stream.Close(); } private string resultsPath; private FileStream stream; }
このページは役に立ちましたか?