AddStream.2 |
Scroll |
Adds a file to the compound file.
Namespace: Therefore.API
Visual Basic Public Overridable Function AddStream ( _ strFileName As String, _ strStreamName As String, _ nFormNo As Integer, _ bAddAsContentFile As Boolean _ ) As Integer C# public virtual int AddStream ( string strFileName, string strStreamName, int nFormNo, bool bAddAsContentFile )
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.
bAddAsContentFile
Return Value The zero-based index of the new stream in the TheCompoundFile. |
|