Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
PixelateCommandBitmapEffectsFlags Enumeration
See Also  
Leadtools.Windows.Media.Effects.SpecialEffects Namespace : PixelateCommandBitmapEffectsFlags Enumeration





Enumerated values that indicate the values used to fill the cells, the shape of the cells, and what type of data is in the CellWidth and CellHeight properties of PixelateCommandBitmapEffect class.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum PixelateCommandBitmapEffectsFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As PixelateCommandBitmapEffectsFlags
C# 
[FlagsAttribute()]
public enum PixelateCommandBitmapEffectsFlags : Enum 
C++/CLI 
[FlagsAttribute()]
public enum class PixelateCommandBitmapEffectsFlags : public Enum 
XAML Attributes Usage 

<object property=EnumerationValue .../>

XAML Attributes Usage 

<object property=EnumerationValue .../>

Members

MemberDescription
Maximum Fill the cell with its maximum pixel value.
Minimum Fill the cell with its minimum pixel value.
Average Fill the cell with its average pixel value.
Rectangle Divide the image into rectangular cells. If this flag used, the CellWidth property of the PixelateCommandBitmapEffect class contains the cell width in pixels or the number of cells across the width of the image. Thr CellHeight property of PixelateCommandBitmapEffect class contains the cell height in pixels or the number of cells across the height of the image.
Radial Divide the image into circular cells, centered around the center point. If this flag is used, the CellWidth property of the PixelateCommandBitmapEffect class contains the angular component of the cell, and the CellHeight property of the PixelateCommandBitmapEffect class contains the radial component of the cell. Please note that the Radial flag must be OR-ed with the WidthPeriod flag or the WidthFrequency flag.
WidthFrequency Indicates the number of cells along the width of the image if rectangular cells are used. If circular cells are used, this indicates the number of cells present around the center of the circle.
WidthPeriod Indicates the width, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the number of degrees in each cell around the center point.
HeightFrequency Indicates the number of cells along the height of the image if rectangular cells are used. If circular cells are used, this indicates the number of cells present along the radius of the circle.
HeightPeriod Indicates the height, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the radial length of each cell along the radius.

Remarks

You can use a bitwise OR (|) to specify one flag from each group.
GroupFlags
Cell ValuesMaximum, Minimum, Average
Cell ShapesRectangle, Radial
Type of cell width and cell height data usedWidthFrequency, WidthPeriod, HeightFrequency, HeightPeriod

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Media.Effects.SpecialEffects.PixelateCommandBitmapEffectsFlags

Requirements

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

See Also