Accusoft.ImagXpressSdk Namespace > Processor Class : ContrastMethod Property |
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <BrowsableAttribute(True)> <DescriptionAttribute("Gets and sets the contrast method to use.")> <DefaultValueAttribute()> Public Property ContrastMethod As ContrastMethod
'Usage Dim instance As Processor Dim value As ContrastMethod instance.ContrastMethod = value value = instance.ContrastMethod
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [Browsable(true)] [Description("Gets and sets the contrast method to use.")] [DefaultValue()] public ContrastMethod ContrastMethod {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [Browsable(true)] [Description("Gets and sets the contrast method to use.")] [DefaultValue()] public: __property ContrastMethod get_ContrastMethod(); public: __property void set_ContrastMethod( ContrastMethod value );
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [Browsable(true)] [Description("Gets and sets the contrast method to use.")] [DefaultValue()] 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.