ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearFileFilters Class / Add Method
New format to be added.




In This Topic
    Add Method (ImGearFileFilters)
    In This Topic
    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