VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Filters Namespace / MedianCommand Class / WindowSize Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    WindowSize Property (MedianCommand)
    In This Topic
    Gets or sets the window size for the filter.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The window size for the filter.
    Supported value is any positive odd value.")>
    <DefaultValueAttribute(3)>
    Public Property WindowSize As System.Int32
    
    
    [Description("The window size for the filter.
    Supported value is any positive odd value.")]
    [DefaultValue(3)]
    public System.Int32 WindowSize { get; set; }
    
    
    [Description("The window size for the filter.
    Supported value is any positive odd value.")]
    [DefaultValue(3)]
    public: __property System.Int32 get_WindowSize();
    public: __property void set_WindowSize(
    System.Int32 value
    );
    [Description("The window size for the filter.
    Supported value is any positive odd value.")]
    [DefaultValue(3)]
    public:
    property System.Int32 WindowSize { System.Int32 get(); void set(System.Int32 value); }

    Property Value

    Supported value is any positive odd value. Default value is 3.
    Exceptions
    ExceptionDescription
    Thrown if window size is negative or window size is an odd value.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also