VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Document Namespace / AdvancedReplaceColorCommand Class / MaskImage Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    MaskImage Property (AdvancedReplaceColorCommand)
    In This Topic
    Gets or sets the black-white image mask.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The black-white image mask.")>
    <DefaultValueAttribute(null)>
    Public Property MaskImage As Vintasoft.Imaging.VintasoftImage
    
    
    [Description("The black-white image mask.")]
    [DefaultValue(null)]
    public Vintasoft.Imaging.VintasoftImage MaskImage { get; set; }
    
    
    [Description("The black-white image mask.")]
    [DefaultValue(null)]
    public: __property Vintasoft.Imaging.VintasoftImage* get_MaskImage();
    public: __property void set_MaskImage(
    Vintasoft.Imaging.VintasoftImage* value
    );
    [Description("The black-white image mask.")]
    [DefaultValue(null)]
    public:
    property Vintasoft.Imaging.VintasoftImage^ MaskImage { Vintasoft.Imaging.VintasoftImage^ get(); void set(Vintasoft.Imaging.VintasoftImage^ value); }

    Property Value

    null - all pixels of source image will be processed; black-white image - source image's pixel will be processed if image mask's pixel, in the same position, is set to 1.
    Black-white image mask must have the same size as the source image.
    Exceptions
    ExceptionDescription
    Thrown if mask image is not BlackWhite image.
    Requirements

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

    See Also