Accusoft.ImagXpress13.Net
PreserveBlack Property (ImageXView)




Gets and sets an indicator if black should be preserved and applied when viewing the image.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DescriptionAttribute("Enables/disables preserving black pixels when resizing a black and white image to the view.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DefaultValueAttribute()>
Public Property PreserveBlack As Boolean
'Usage
 
Dim instance As ImageXView
Dim value As Boolean
 
instance.PreserveBlack = value
 
value = instance.PreserveBlack
[Browsable(false)]
[Description("Enables/disables preserving black pixels when resizing a black and white image to the view.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
public bool PreserveBlack {get; set;}
[Browsable(false)]
[Description("Enables/disables preserving black pixels when resizing a black and white image to the view.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
public: __property bool get_PreserveBlack();
public: __property void set_PreserveBlack( 
   bool value
);
[Browsable(false)]
[Description("Enables/disables preserving black pixels when resizing a black and white image to the view.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
public:
property bool PreserveBlack {
   bool get();
   void set (    bool value);
}

Property Value

A boolean value which is true for black objects (such as lines) to be enhanced to increase readability. Otherwise, false is returned and no enhancement of black objects is applied.
Remarks

The default value is false.

This property is useful to maintain readability of images when the display size is very small and zoom is applied where dark pixels can be subsampled away.

Note: This property does not modify the image in memory.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback