Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
CellWidth Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > PixelateCommandBitmapEffect Class : CellWidth Property





Gets or sets a value that represents the width of a rectangular cell.

Syntax

Visual Basic (Declaration) 
Public Property CellWidth As Integer
Visual Basic (Usage)Copy Code
Dim instance As PixelateCommandBitmapEffect
Dim value As Integer
 
instance.CellWidth = value
 
value = instance.CellWidth
C# 
public int CellWidth {get; set;}
C++/CLI 
public:
property int CellWidth {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object CellWidth =int >

Dependencies Property Information 

Identifier field

CellWidthProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object CellWidth =int >

Dependencies Property Information 

Identifier field

CellWidthProperty

Metadata properties set to true

None

Return 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:
PixelateCommandBitmapEffectsFlags.Radial |
PixelateCommandBitmapEffectsFlags.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.
PixelateCommandBitmapEffectsFlags.Radial |
PixelateCommandBitmapEffectsFlags.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.
PixelateCommandBitmapEffectsFlags.Rectangle |
PixelateCommandBitmapEffectsFlags.WidthFrequency
the number of cells present across the width of the image. .
PixelateCommandBitmapEffectsFlags.Rectangle |
PixelateCommandBitmapEffectsFlags.WidthPeriod |
the width of each rectangular cell, in pixels.1 to the image width .

Example

For XAML example, refer to PixelateCommandBitmapEffect.

For C#/VB examples, refer to PixelateCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also