VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollectionGdiExtensions Class / Add(ImageCollection,Image,Boolean) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
Add(ImageCollection,Image,Boolean) Method (ImageCollectionGdiExtensions)
In This Topic
Adds element(s) to the end of the ImageCollection.
Syntax
'Declaration

<ExtensionAttribute()>
Public Shared Sub Add( _
ByVal imageCollection
The image collection.
As ImageCollection, _
ByVal image
The System.Drawing.Image to be added to the collection.
As System.Drawing.Image, _
ByVal disposeImageAfterUse
A value indicating whether image must be disposed when this collection is disposed.
As Boolean _
)

Parameters

imageCollection
The image collection.
image
The System.Drawing.Image to be added to the collection.
disposeImageAfterUse
A value indicating whether image must be disposed when this collection is disposed.
Exceptions
ExceptionDescription
Thrown if image is null.
Remarks

One VintasoftImage object will be added to this collection if image is not a multipage image.
Multiple VintasoftImage objects will be added to this collection if image is a multipage GIF/TIFF image.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also