Summary
Gets a System.IO.Stream
that can be used for document content. If content
is not null, the stream is initialized with the specified content.
The position should be set to the beginning of the stream when returned.
Syntax
Stream GetStream(IExecutionContext context, string content = null)
Parameters
Name |
Type |
Description |
context |
IExecutionContext |
The current execution context. |
content |
string |
Content to initialize the stream with. |
Return Value
Type |
Description |
Stream |
A stream for document content. |