GrayscaleFiltration Property (ImageSharpeningCommand)
Gets or sets a value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.
'Declaration
<DescriptionAttribute("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")>
<DefaultValueAttribute(True)>
Public Property GrayscaleFiltration As Boolean
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
[DefaultValue(True)]
public bool GrayscaleFiltration { get; set; }
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
[DefaultValue(True)]
public: __property bool get_GrayscaleFiltration();
public: __property void set_GrayscaleFiltration(
bool
);
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
[DefaultValue(True)]
public:
property bool GrayscaleFiltration {
bool get();
void set(bool );
}
Property Value
True - the command must convert the source image to the grayscale image before the image spectrum filtering. Command performs filtering on a single channel.
false - the command must not change the source image before the image spectrum filtering. Command performs filtering on all channels of the source image.
Default value is true.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5