AddStreamToThexFile |
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 AddStreamToThexFile ( _ strFileName As String, _ strStreamName As String, _ pConvOptions As TheConversionOptions _ ) As Integer C# public virtual int AddStreamToThexFile ( string strFileName, string strStreamName, TheConversionOptions pConvOptions )
Parameters strFileName The full path of the file to add to the Therefore™ compound 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.
Return Value The current StreamNo. |
|
|