VintaSoft Imaging .NET SDK 15.1: 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; }

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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also