This is experimental documentation.
Creates a new ImageParser for the specified stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static ImageParser Create( Stream stream )
Public Shared Function Create ( _ stream As Stream _ ) As ImageParser
public: static ImageParser^ Create( Stream^ stream )
Parameters
- stream (Stream)
- The stream to read.
Return Value
An ImageParser ready to present images.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the specified stream cannot seek. |
InvalidDataException | Thrown if the file format was invalid. |
ArgumentNullException | Thrown if stream is nullNothingnullptr. |
Assembly: Asgard5Library (Module: Asgard5Library)