ImageGear .NET v24.12 - Updated
ImGearPicturizePreprocessedCollection Constructor(ImGearRasterPage,Int32,Int32,String[])




ImageGear24.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearPicturizePreprocessedCollection Class > ImGearPicturizePreprocessedCollection Constructor : ImGearPicturizePreprocessedCollection Constructor(ImGearRasterPage,Int32,Int32,String[])
Specifies the image to apply the Picturize effect to.
Specifies the width of cells in the main image that will be replaced with cell images.
Specifies the height of cells in the main image that will be replaced with cell images.
Specifies the list of image file names that will be used for picturizing.
Initializes a new instance of the ImGearPicturizePreprocessedCollection class.
Syntax
'Declaration
 
Public Function New( _
   ByVal mainImage As ImGearRasterPage, _
   ByVal cellWidth As Integer, _
   ByVal cellHeight As Integer, _
   ByVal cellFileNames() As String _
)
'Usage
 
Dim mainImage As ImGearRasterPage
Dim cellWidth As Integer
Dim cellHeight As Integer
Dim cellFileNames() As String
 
Dim instance As New ImGearPicturizePreprocessedCollection(mainImage, cellWidth, cellHeight, cellFileNames)
public ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage mainImage,
   int cellWidth,
   int cellHeight,
   string[] cellFileNames
)
public: ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage* mainImage,
   int cellWidth,
   int cellHeight,
   string*[]* cellFileNames
)
public:
ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage^ mainImage,
   int cellWidth,
   int cellHeight,
   array<String^>^ cellFileNames
)

Parameters

mainImage
Specifies the image to apply the Picturize effect to.
cellWidth
Specifies the width of cells in the main image that will be replaced with cell images.
cellHeight
Specifies the height of cells in the main image that will be replaced with cell images.
cellFileNames
Specifies the list of image file names that will be used for picturizing.

Return Value

The new instance of ImGearPicturizePreprocessedCollection class.
Remarks
This constructor creates the new instance of the ImGearPicturizePreprocessedCollection class. It loads a collection of cell images, specified as a list of file names, preprocesses them and stores internally for later use in the ImGearEffects.Picturize method.

Creation of this class serves as the first step in calculation of the Picturize effect. An instance of this class is passed to ImGearPicturizeMatchingMatrix constructor, which in turn is passed to the Picturize method.

See Also

Reference

ImGearPicturizePreprocessedCollection Class
ImGearPicturizePreprocessedCollection Members
Overload List
ImGearPicturizeMatchingMatrix Class
Picturize Method