Accusoft.ImagXpressSdk Namespace > Processor Class : ContrastMethod Property |
'Declaration <BrowsableAttribute(True)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <DefaultValueAttribute()> <DescriptionAttribute("Gets and sets the contrast method to use.")> Public Property ContrastMethod As ContrastMethod
'Usage Dim instance As Processor Dim value As ContrastMethod instance.ContrastMethod = value value = instance.ContrastMethod
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Gets and sets the contrast method to use.")] public ContrastMethod ContrastMethod {get; set;}
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Gets and sets the contrast method to use.")] public: __property ContrastMethod get_ContrastMethod(); public: __property void set_ContrastMethod( ContrastMethod value );
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Gets and sets the contrast method to use.")] public: property ContrastMethod ContrastMethod { ContrastMethod get(); void set ( ContrastMethod value); }
The default value is ContrastMethod.DefaultContrast.
If this property is set to ViewCompatibleContrast, then the ImageXView.Contrast property is invoked. This ensures backward compatibility with existing users. It also allows the application to get and save the same image in the viewer when contrast is applied.