
'Declaration <DefaultMemberAttribute("Item")> Public NotInheritable Class ImageCollection Inherits System.Collections.CollectionBase
[DefaultMember("Item")] public sealed class ImageCollection : System.Collections.CollectionBase
[DefaultMember("Item")] public __gc __sealed class ImageCollection : public System.Collections.CollectionBase
[DefaultMember("Item")] public ref class ImageCollection sealed : public System.Collections.CollectionBase
Class ImageCollectionExample Public Sub RunExample() ' create image collection Dim images As New Vintasoft.Imaging.ImageCollection() ' add several images into collection ' [ do not forget to set your image file paths here! ] images.Add("test.bmp") images.Add("multipage.tif") images.Add("animated.gif") ' subscribe to progress event AddHandler images.ImageCollectionSavingProgress, New System.EventHandler(Of Vintasoft.Imaging.ProgressEventArgs)(AddressOf images_ImageCollectionSavingProgress) ' save the collection to the new file images.SaveAsync("output-multipage.tif") End Sub Private Sub images_ImageCollectionSavingProgress(sender As Object, e As Vintasoft.Imaging.ProgressEventArgs) ' update progress info using e.Progress property ' ... ' cancel image collection saving using e.Cancel property if necessary ' ... End Sub End Class
class ImageCollectionExample { public void RunExample() { // create image collection Vintasoft.Imaging.ImageCollection images = new Vintasoft.Imaging.ImageCollection(); // add several images into collection // [ do not forget to set your image file paths here! ] images.Add("test.bmp"); images.Add("multipage.tif"); images.Add("animated.gif"); // subscribe to progress event images.ImageCollectionSavingProgress += new System.EventHandler<Vintasoft.Imaging.ProgressEventArgs>(images_ImageCollectionSavingProgress); // save the collection to the new file images.SaveAsync("output-multipage.tif"); } void images_ImageCollectionSavingProgress(object sender, Vintasoft.Imaging.ProgressEventArgs e) { // update progress info using e.Progress property // ... // cancel image collection saving using e.Cancel property if necessary // ... } }
System.Object
System.Collections.CollectionBase
Vintasoft.Imaging.ImageCollection
Target Platforms: .NET 6; .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5