ImageGear .NET
Detect(Stream) Method




The data stream containing an image.
Detects the format of an image.
Syntax
'Declaration
 
Public Shared Function Detect( _
   ByVal stream As Stream _
) As IImGearFormat
'Usage
 
Dim stream As Stream
Dim value As IImGearFormat
 
value = ImGearFileFormats.Detect(stream)
public static IImGearFormat Detect( 
   Stream stream
)
public: static IImGearFormat* Detect( 
   Stream* stream
) 
public:
static IImGearFormat^ Detect( 
   Stream^ stream
) 

Parameters

stream
The data stream containing an image.

Return Value

The format from the list of formats.
Remarks
If an image cannot be detected, an exception is thrown.
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback