ImageGear for .NET
IndexOf Method (ImGearFileFilters)




ID of the format.
Gets an index of a format in the list based on the format ID.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal formatId As ImGearFormats _
) As Integer
'Usage
 
Dim instance As ImGearFileFilters
Dim formatId As ImGearFormats
Dim value As Integer
 
value = instance.IndexOf(formatId)
public int IndexOf( 
   ImGearFormats formatId
)
public: int IndexOf( 
   ImGearFormats formatId
) 
public:
int IndexOf( 
   ImGearFormats formatId
) 

Parameters

formatId
ID of the format.

Return Value

The index of a format in the list, or -1 if the format is not in the list.
Remarks
The formats are called in the order in which they are kept in the list when the format of an image is detected during loading. Therefore, this method can be used to learn the place of a format in the detection process.
See Also

Reference

ImGearFileFilters Class
ImGearFileFilters Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback