AddStream.1 |
Scroll |
Adds a file to the compound file. The file is copied into a stream of the compound file.
Namespace: Therefore.API
Visual Basic Public Overridable Function AddStream ( _ strFileName As String, _ strStreamName As String, _ nFormNo As Integer _ ) As Integer C# public virtual int AddStream ( string strFileName, string strStreamName, int nFormNo )
Parameters strFileName The full path of the file to add to the Thereforeâ„¢ compound file.
strStreamName The name of the new stream. If an empty string is specified the strFileName will be used (incl. the extension, excl. the path).
nFormNo The COLD form number, if the file contains COLD text, 0 otherwise.
Return Value The zero-based index of the new stream in the TheCompoundFile. |
|