ImageGear for Java
insertAfter Method
ID of the format after which to insert a new format.
New format to be inserted.

Use this method if you want a new format to be called after a particular format during format detection. If a format with the same ID as the new one exists in the list, an exception is thrown. You can use contains method to check if a format is already added, and call remove/ removeAt methods to remove a format.

Inserts a new format to the list of formats after the specified format.
Syntax
public void insertAfter( 
   ImGearFormats formatId,
   IImGearFormat newFormat
)

Parameters

formatId
ID of the format after which to insert a new format.
newFormat
New format to be inserted.

Use this method if you want a new format to be called after a particular format during format detection. If a format with the same ID as the new one exists in the list, an exception is thrown. You can use contains method to check if a format is already added, and call remove/ removeAt methods to remove a format.

See Also

Reference

ImGearFileFilters Class
ImGearFileFilters Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback