VintaSoft Imaging .NET SDK 10.0
Vintasoft.Imaging.Codecs.Encoders Namespace / PdfMrcCompressionSettings Class / MaskRegions Property



In This Topic
    MaskRegions Property
    In This Topic
    Gets or sets the text and line-art regions on a source image.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Text and line-art regions on a source image.")>
    Public Property MaskRegions As Rectangle()
    [Description("Text and line-art regions on a source image.")]
    public Rectangle[] MaskRegions {get; set;}
    [Description("Text and line-art regions on a source image.")]
    public: __property Rectangle[]* get_MaskRegions();
    public: __property void set_MaskRegions( 
       Rectangle[][]* value
    );
    [Description("Text and line-art regions on a source image.")]
    public:
    property array<Rectangle>^ MaskRegions {
       array<Rectangle>^ get();
       void set (    array<Rectangle>^ value);
    }

    Property Value

    null - the whole image will be binarized, using MaskBinarization command, for getting the mask layer; not null - specified image regions will be binarized, using MaskBinarization, for getting the mask layer.
    Default value is null.
    Requirements

    Target Platforms: .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also