ImageGear for Java
indexOf Method
ID of the format.
Gets an index of a format in the list based on the format ID.
Syntax
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.

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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback