LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly)
LEAD Technologies, Inc

CellWidth Property (PixelateCommand)






Gets or sets a value that represents the width of a rectangular cell. .NET support WinRT support
Syntax
public int CellWidth {get; set;}
'Declaration
 
Public Property CellWidth As Integer
'Usage
 
Dim instance As PixelateCommand
Dim value As Integer
 
instance.CellWidth = value
 
value = instance.CellWidth
public int CellWidth {get; set;}
 get_CellWidth();
set_CellWidth(value);
public:
property int CellWidth {
   int get();
   void set (    int value);
}

Property Value

Value that represents the width of a rectangular cell, the number of rectangular cells present across the width of the image, the number of cells around the center point of a circular cell, or the length in degrees of each cell around the center point of a circular cell, based on the flags set in the Flags property.
If the Flags property contains: Then the CellWidth property contains: And the range of possible values for the CellWidth property is:
PixelateCommandFlags.Radial |
PixelateCommandFlags.WidthFrequency
the number of cells around the CenterPoint property. That is, the circle around the center point is divided into equal parts based on the value of the CellWidth property, as shown below:
1 to 360. The circle can be divided into anywhere from 1 to 360 equal parts.
PixelateCommandFlags.Radial |
PixelateCommandFlags.WidthPeriod
the size, in degrees of the cells around the center point That is, the circle around the center point is divided into cells, based on the number of degrees in the CellWidth property, as shown below:
1 to 360. The circle can be divided into cells of 1 degree to 360 degrees.
PixelateCommandFlags.Rectangle |
PixelateCommandFlags.WidthFrequency
the number of cells present across the width of the image. 1 to the image width, if there is no region. If there is a region, then the range of values is just the region width.
PixelateCommandFlags.Rectangle |
PixelateCommandFlags.WidthPeriod |
the width of each rectangular cell, in pixels. 1 to the image width, if there is no region. If there is a region, then the range of values is just the region width.
Example
Refer to PixelateCommand.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PixelateCommand Class
PixelateCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.