ImageGear .NET
Insert Method (ImGearFileFilters)




Position where to insert a new format.
New format to be inserted.
Inserts a new format to the list of formats at the specified position.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal newFormat As IImGearFormat _
) 
'Usage
 
Dim instance As ImGearFileFilters
Dim index As Integer
Dim newFormat As IImGearFormat
 
instance.Insert(index, newFormat)
public void Insert( 
   int index,
   IImGearFormat newFormat
)
public: void Insert( 
   int index,
   IImGearFormat* newFormat
) 
public:
void Insert( 
   int index,
   IImGearFormat^ newFormat
) 

Parameters

index
Position where to insert a new format.
newFormat
New format to be inserted.
Remarks
Use this method instead of Add if you want to control the detection process. If the format with the same ID exists in the list, an exception is thrown. You can use the 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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback