Open a literal data packet, returning a stream to store the data inside the packet.
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, string name, long length, DateTime modificationTime ) |
Visual Basic |
---|
Public Function Open ( _ outStr As Stream, _ format As Char, _ name As String, _ length As Long, _ modificationTime As DateTime _ ) As Stream |
Visual C++ |
---|
public: Stream^ Open( Stream^ outStr, wchar_t format, String^ name, long long length, DateTime modificationTime ) |
Parameters
- outStr
- Type: System.IO..::..Stream
The stream we want the packet in.
- format
- Type: System..::..Char
The format we are using.
- name
- Type: System..::..String
The name of the 'file'.
- length
- Type: System..::..Int64
The length of the data we will write.
- modificationTime
- Type: System..::..DateTime
The time of last modification we want stored.