Creates the output file. Call SetOutputOptions before calling this method.
[Visual Basic] Function OpenOutputFile( _ ByVal p_sPath As String _ ) As Boolean [C#] bool OpenOutputFile( string p_sPath ); [C++] bool OpenOutputFile( String* p_sPath ); [JScript] function OpenOutputFile( String p_sPath ): bool;
True if the file was created successfully, false otherwise.
If you want to use an encoding or a language in the output that is different from the input encoding or language, you must call SetOutputOptions before calling this method.
If you use a layered output, you must call UseOutputLayer before calling this method (and after calling SetOutputOptions).
Note that some filters may generate the actual final output only when CloseOutput is called, at the end of the process.
See WriteItem for an example.
IFilter Interface | Okapi.Library.Filter Namespace | CloseOutput | UseOutputLayer | SetOutputOptions