AddStreamEx.2 |
Scroll |
Adds a file to the compound file. The file is converted into the desired format and copied into a stream of the compound file.
Namespace: Therefore.API
Visual Basic Public Overridable Function AddStreamEx ( _ strFileName As String, _ strStreamName As String, _ pConvOptions As TheConversionOptions, _ bAddAsContentFile As Boolean _ ) As Integer C# public virtual int AddStreamEx ( string strFileName, string strStreamName, TheConversionOptions pConvOptions, bool bAddAsContentFile )
Parameters strFileName The full path of the file to add to the Therefore™ document file (the file is split when the maximum page count—set in the registry—is exceeded).
strStreamName The name of the new stream. If an empty string is specified, the strFileName will be used (incl. the extension, excl. the path).
pConvOptions A TheConversionOptions object containing the options for converting the file.
bAddAsContentFile
Return Value The current StreamNo. |
|
|