ImageGear .NET - Updated
Add Method (ImGearFileFilters)




ImageGear24.Core Assembly > ImageGear.Formats Namespace > ImGearFileFilters Class : Add Method
New format to be added.
Adds a new format to the end of the list of formats.
Syntax
'Declaration
 
Public Function Add( _
   ByVal newFormat As IImGearFormat _
) As Integer
'Usage
 
Dim instance As ImGearFileFilters
Dim newFormat As IImGearFormat
Dim value As Integer
 
value = instance.Add(newFormat)
public int Add( 
   IImGearFormat newFormat
)
public: int Add( 
   IImGearFormat* newFormat
) 
public:
int Add( 
   IImGearFormat^ newFormat
) 

Parameters

newFormat
New format to be added.

Return Value

A place in the list where new format is placed.
Remarks
If the list contains the format with the same ID as the new one, the new format is not added, and the index of the existing format is returned instead.
See Also

Reference

ImGearFileFilters Class
ImGearFileFilters Members