ImageGear for .NET
Insert Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFilters Class : Insert Method




index
Position where to insert a new format.
newFormat
New format to be inserted.

Glossary Item Box

Inserts a new format to the list of formats at the specified position.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2013. Accusoft Corporation. All Rights Reserved.