Visual Basic (Declaration) | |
---|---|
Public Property CellWidth As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int CellWidth {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_CellWidth(); public: __property void set_CellWidth( int value ); |
XAML Attributes Usage | |
---|---|
<object CellWidth =int > |
Dependency 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 . |
For XAML example, refer to PixelateCommandBitmapEffect.
For C#/VB examples, refer to PixelateCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003