Accusoft.ImagXpressSdk Namespace > ImageXView Class : Antialias Property |
'Declaration <BrowsableAttribute(True)> <DescriptionAttribute("Enables/disables antialiasing when resizing the image to the view.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <DefaultValueAttribute()> Public Property Antialias As Boolean
'Usage Dim instance As ImageXView Dim value As Boolean instance.Antialias = value value = instance.Antialias
[Browsable(true)] [Description("Enables/disables antialiasing when resizing the image to the view.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] public bool Antialias {get; set;}
[Browsable(true)] [Description("Enables/disables antialiasing when resizing the image to the view.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] public: __property bool get_Antialias(); public: __property void set_Antialias( bool value );
[Browsable(true)] [Description("Enables/disables antialiasing when resizing the image to the view.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] 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.