TextureLoader.ImageInformationFromStream Method |
Language: |
Retrieves information about an image file in memory.
Visual Basic Public Shared Function ImageInformationFromStream( _
ByVal sourceStream As Stream, _
ByVal readLength As Integer _
) As ImageInformationC# public static ImageInformation ImageInformationFromStream(
Stream sourceStream,
int readLength
);C++ public:
static ImageInformation ImageInformationFromStream(
Stream^ sourceStream,
int readLength
);JScript public static function ImageInformationFromStream(
sourceStream : Stream,
readLength : int
) : ImageInformation;
sourceStream System.IO.Stream
A Stream object containing the image whose information is being retrieved.readLength System.Int32
The size of the sourceStream data to read.
Microsoft.DirectX.Direct3D.ImageInformation
An ImageInformation structure that contains the description of the data in sourceStream.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center