Accusoft.ImagXpressSdk Namespace > ImageXView Class : PreserveBlack Property |
'Declaration <DescriptionAttribute("Enables/disables preserving black pixels when resizing a black and white image to the view.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <DefaultValueAttribute()> <BrowsableAttribute(False)> Public Property PreserveBlack As Boolean
'Usage Dim instance As ImageXView Dim value As Boolean instance.PreserveBlack = value value = instance.PreserveBlack
[DescriptionAttribute("Enables/disables preserving black pixels when resizing a black and white image to the view.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DefaultValueAttribute()] [BrowsableAttribute(false)] public bool PreserveBlack {get; set;}
[DescriptionAttribute("Enables/disables preserving black pixels when resizing a black and white image to the view.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DefaultValueAttribute()] [BrowsableAttribute(false)] public: __property bool get_PreserveBlack(); public: __property void set_PreserveBlack( bool value );
[DescriptionAttribute("Enables/disables preserving black pixels when resizing a black and white image to the view.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DefaultValueAttribute()] [BrowsableAttribute(false)] public: property bool PreserveBlack { bool get(); void set ( bool value); }
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.