Accusoft.ImagXpressSdk Namespace > ImageXView Class : Antialias Property |
'Declaration <DefaultValueAttribute()> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <BrowsableAttribute(True)> <DescriptionAttribute("Enables/disables antialiasing when resizing the image to the view.")> Public Property Antialias As Boolean
'Usage Dim instance As ImageXView Dim value As Boolean instance.Antialias = value value = instance.Antialias
[DefaultValueAttribute()] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [BrowsableAttribute(true)] [DescriptionAttribute("Enables/disables antialiasing when resizing the image to the view.")] public bool Antialias {get; set;}
[DefaultValueAttribute()] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [BrowsableAttribute(true)] [DescriptionAttribute("Enables/disables antialiasing when resizing the image to the view.")] public: __property bool get_Antialias(); public: __property void set_Antialias( bool value );
[DefaultValueAttribute()] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [BrowsableAttribute(true)] [DescriptionAttribute("Enables/disables antialiasing when resizing the image to the view.")] public: property bool Antialias { bool get(); void set ( bool value); }
The default value is true.
When the logical size of an image is reduced to less than the actual size of the image, then some of that image's pixels get lost. When antialias is set to true, all of the pixels that would occupy the same area are averaged together turning them into a level of gray for black and white images. For color images, all of the pixels are averaged. This prevents fine lines from being lost, and allows a full page of printed text to be read clearly.
Note: Changing this property does not permanently affect the image loaded in memory.