Therefore API > API Reference > Classes > TheDocument > Methods
AddStream
Adds a file to the compound file.
Name
Description
AddStream(string, string, int)
Adds a file to the compound file. The file is copied into a stream of the compound file.
AddStream(string, string, int, bool)
Please check the help pages of the various overloads for the exact syntax in Visual Basic and C#.