![]() |
![]() |
![]() |
TextureLoader.ImageInformationFromFile Method |
Language: |
Retrieves information about a given image file.
Visual Basic Public Shared Function ImageInformationFromFile( _
ByVal srcFile As String _
) As ImageInformationC# public static ImageInformation ImageInformationFromFile(
string srcFile
);C++ public:
static ImageInformation ImageInformationFromFile(
String^ srcFile
);JScript public static function ImageInformationFromFile(
srcFile : String
) : ImageInformation;
srcFile System.String
File name of the image whose information is being retrieved.
Microsoft.DirectX.Direct3D.ImageInformation
An ImageInformation structure that contains the description of the data in the source file.
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