Open a literal data packet for the passed in FileInfo object, returning an output stream for saving the file contents.
The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr.
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public Stream Open( Stream outStr, char format, FileInfo file ) |
Visual Basic |
---|
Public Function Open ( _ outStr As Stream, _ format As Char, _ file As FileInfo _ ) As Stream |
Visual C++ |
---|
public: Stream^ Open( Stream^ outStr, wchar_t format, FileInfo^ file ) |
Parameters
- outStr
- Type: System.IO..::..Stream
The stream we want the packet in.
- format
- Type: System..::..Char
The format we are using.
- file
- Type: System.IO..::..FileInfo
The FileInfo object containg the packet details.