Opens the file to process.
[Visual Basic] Function OpenInputFile( _ ByVal p_sPath As String, _ ByVal p_sLanguage As String, _ ByVal p_sEncoding As String _ ) As Boolean [C#] bool OpenInputFile( string p_sPath, string p_sLanguage, string p_sEncoding ); [C++] bool OpenInputFile( String* p_sPath, String* p_sLanguage, String* p_sEncoding ); [JScript] function OpenInputFile( String p_sPath, String p_sLanguage, String p_sEncoding ): bool;
True if the file is opened successfully, false if an error occurs.
Use this method to open the input file to process. You must call CloseInput after the file has been processed. To process a string, use the OpenInputString method.
See ReadItem for an example.
IFilter Interface | Okapi.Library.Filter Namespace | CloseInput | OpenInputString | ResetInput | ReadItem