Visual Basic (Declaration) | |
---|---|
Public Class MaximumCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MaximumCommandBitmapEffect : RasterCommandBitmapEffect |
Managed Extensions for C++ | |
---|---|
public __gc class MaximumCommandBitmapEffect : public RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class MaximumCommandBitmapEffect : public RasterCommandBitmapEffect |
XAML Property Element Usage | |
---|---|
MaximumCommandBitmapEffect ... |
Run the MaximumCommandBitmapEffect on an image with a neighborhood Dimensions = 3x3 pixels.
Visual Basic | Copy Code |
---|---|
Public Sub MaximumCommandBitmapEffectExample(ByVal element As FrameworkElement) |
C# | Copy Code |
---|---|
public void MaximumCommandBitmapEffectExample(FrameworkElement element) |
XAML | Copy Code |
---|---|
<Page Title="CSAnimateEffect" Height="391" Width="300" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:lteffects="clr-namespace:Leadtools.Windows.Media.Effects.Core;assembly=Leadtools.Windows.Media.Effects"> |
The effect can be controlled by specifying the size of the neighborhood that is used for calculating each pixel value. For example, for 8x8, set Dimension property to 8. Each pixel is replaced with the maximum value of its neighborhood.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Media.Effects.BitmapEffect
Leadtools.Windows.Media.Effects.RasterCommandBitmapEffect
Leadtools.Windows.Media.Effects.Core.MaximumCommandBitmapEffect
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003
Reference
MaximumCommandBitmapEffect MembersLeadtools.Windows.Media.Effects.Core Namespace
AddNoiseCommandBitmapEffect Class
SharpenCommandBitmapEffect Class
PosterizeCommandBitmapEffect Class
MosaicCommandBitmapEffect Class
EmbossCommandBitmapEffect Class
AverageCommandBitmapEffect Class
MedianCommandBitmapEffect Class
IntensityDetectCommandBitmapEffect Class
SpatialFilterCommandBitmapEffect Class
BinaryFilterCommandBitmapEffect Class
MinimumCommandBitmapEffect Class
OilifyCommandBitmapEffect Class
SolarizeCommandBitmapEffect Class
FragmentCommandBitmapEffect Class
HighPassCommandBitmapEffect Class
UnsharpMaskCommandBitmapEffect Class