'Declaration Public Overrides Function ToStream() As System.IO.Stream
public override System.IO.Stream ToStream()
Return Value
A stream containing the image bytes.
If the image bytes are stored in the picture, creates and returns a MemoryStream object.
If the image is linked and stored in a file, opens the file and returns a FileStream object.
If the image is linked and stored in an external URL, downloads the file and returns a MemoryStream object.
'Declaration Public Overrides Function ToStream() As System.IO.Stream
public override System.IO.Stream ToStream()