VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Ico Namespace / IconPageCollection Class / Insert Methods / Insert(Int32,VintasoftImage,IProgressController) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Insert(Int32,VintasoftImage,IProgressController) Method (IconPageCollection)
In This Topic
Inserts image as new page to the page collection at the specified index.
Syntax
'Declaration

Public Overloads Overrides Sub Insert( _
ByVal index
The zero-based index at which page should be inserted.
As System.Int32, _
ByVal image
Image to insert into the page collection.
As Vintasoft.Imaging.VintasoftImage, _
ByVal progressController
Progress controller.
As Vintasoft.Imaging.Utils.IProgressController _
)

Parameters

index
The zero-based index at which page should be inserted.
image
Image to insert into the page collection.
progressController
Progress controller.
Exceptions
ExceptionDescription
Thrown if index is less than 0 or greater than Count.
Thrown if image is null.
Thrown if width or height of image is greater than 256.
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