Redactor Constructor (Stream) |
Initializes a new instance of
Redactor class using stream.
Namespace: GroupDocs.RedactionAssembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 22.8
Syntaxpublic Redactor(
Stream document
)
Public Sub New (
document As Stream
)
public:
Redactor(
Stream^ document
)
new :
document : Stream -> Redactor
Parameters
- document
- Type: System.IOStream
Source stream of the document
Examples
The following example demonstrates how to open a document from stream.
using (Stream stream = File.Open(@"C:\\sample.pdf", FileMode.Open, FileAccess.ReadWrite))
{
using (Redactor redactor = new Redactor(stream))
{
}
}
See Also