Method FromStream
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
FromStream(Stream)
Deserializes a Document from a stream.
public static Document FromStream(Stream stream)
Parameters
stream
StreamThe stream to deserialize from. This stream must be seekable.
Returns
- Document
The Document that was stored in stream.
Remarks
This is the only supported way to deserialize a Document instance from disk.