ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearFileFilters Class / Get Method
The ID of the format.




In This Topic
Get Method (ImGearFileFilters)
In This Topic
Gets a format in the list based on the format ID.
Syntax
'Declaration
 
Public Function Get( _
   ByVal formatId As ImGearFormats _
) As IImGearFormat
 
'Usage
 
Dim instance As ImGearFileFilters
Dim formatId As ImGearFormats
Dim value As IImGearFormat
 
value = instance.Get(formatId)

Parameters

formatId
The ID of the format.

Return Value

The IImGearFormat interface of a format in the list.
Remarks
This method gets a format from the list, allowing you to access format's settings.

Use this method to manage format's control parameters and access the format's attributes (i.e., name, default file extension, etc.). If a format is not in the list, an exception is thrown.

See Also