stream
Output stream
This method saves the data as an image file into the stream. The data must have been previously set into Href using Parse. Use DecodeToFile to save the data to a file on disk.
For an example, refer to SvgDocument.EnumerateElements