Microsoft DirectX 9.0 SDK Update (October 2004)

TextureLoader.ImageInformationFromStream Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves information about an image file in memory.

Definition

Visual Basic .NET Public Shared Function ImageInformationFromStream( _
    ByVal sourceStream As Stream _
) As ImageInformation
C# public static ImageInformation ImageInformationFromStream(
    Stream sourceStream
);
Managed C++ public: static ImageInformation ImageInformationFromStream(
    Stream *sourceStream
);
JScript .NET public static function ImageInformationFromStream(
    sourceStream : Stream
) : ImageInformation;

Parameters

sourceStream System.IO.Stream. A Stream Leave Site object containing the image whose information is being retrieved.

Return Value

Microsoft.DirectX.Direct3D.ImageInformation . An ImageInformation structure that contains the description of the data in sourceStream.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center