Accusoft.ImagXpressSdk Namespace > Processor Class : EnableArea Property |
'Declaration <DescriptionAttribute("Gets and sets whether the area is enabled.")> <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <DefaultValueAttribute()> Public Property EnableArea As Boolean
'Usage Dim instance As Processor Dim value As Boolean instance.EnableArea = value value = instance.EnableArea
[Description("Gets and sets whether the area is enabled.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] public bool EnableArea {get; set;}
[Description("Gets and sets whether the area is enabled.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] public: __property bool get_EnableArea(); public: __property void set_EnableArea( bool value );
[Description("Gets and sets whether the area is enabled.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] public: property bool EnableArea { bool get(); void set ( bool value); }
There are two ways to specify a portion of the image to process: Region or Area.
There can only be one region, and one area specified per processor.
When EnableRegion is set to true, and a region has been defined using this method, all image processing actions apply to the region only.
When EnableArea has been set to true, and an area is defined using SetArea, all image processing actions apply to the area only.
When both a region and an area have been enabled and defined, image processing actions apply to whichever was most recently set.
When neither a region nor an area have been enabled and defined, image processing actions are applied to the entire image.