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




ImageGear24.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearPicturizePreprocessedCollection Class > ImGearPicturizePreprocessedCollection Constructor : ImGearPicturizePreprocessedCollection Constructor(ImGearRasterPage,Int32,Int32,ImGearRasterPage[])
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 images 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 cellImages() As ImGearRasterPage _
)
'Usage
 
Dim mainImage As ImGearRasterPage
Dim cellWidth As Integer
Dim cellHeight As Integer
Dim cellImages() As ImGearRasterPage
 
Dim instance As New ImGearPicturizePreprocessedCollection(mainImage, cellWidth, cellHeight, cellImages)
public ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage mainImage,
   int cellWidth,
   int cellHeight,
   ImGearRasterPage[] cellImages
)
public: ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage* mainImage,
   int cellWidth,
   int cellHeight,
   ImGearRasterPage*[]* cellImages
)
public:
ImGearPicturizePreprocessedCollection( 
   ImGearRasterPage^ mainImage,
   int cellWidth,
   int cellHeight,
   array<ImGearRasterPage^>^ cellImages
)

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.
cellImages
Specifies the list of images that will be used for picturizing.

Return Value

The new instance of the 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 ImageGear.Core.ImGearRasterPage objects, 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
ImGearRasterPage Class
ImGearPicturizeMatchingMatrix Class
Picturize Method