ImageGear .NET
InsertAfter Method




ID of the format after which to insert a new format.
New format to be inserted.
Inserts a new format to the list of formats after the specified format.
Syntax
'Declaration
 
Public Sub InsertAfter( _
   ByVal formatId As ImGearFormats, _
   ByVal newFormat As IImGearFormat _
) 
'Usage
 
Dim instance As ImGearFileFilters
Dim formatId As ImGearFormats
Dim newFormat As IImGearFormat
 
instance.InsertAfter(formatId, newFormat)
public void InsertAfter( 
   ImGearFormats formatId,
   IImGearFormat newFormat
)
public: void InsertAfter( 
   ImGearFormats formatId,
   IImGearFormat* newFormat
) 
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.
Remarks
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 or RemoveAt methods to remove a format.
See Also

Reference

ImGearFileFilters Class
ImGearFileFilters Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback