Accusoft.ImagXpress13.Net
ScaleToGray Property




Gets and sets an indicator if anti-aliasing/conversion to grayscale for 1 bpp images during a resizing load operation is enabled.
Syntax
'Declaration
 
Public Property ScaleToGray As Boolean
'Usage
 
Dim instance As LoadOptions
Dim value As Boolean
 
instance.ScaleToGray = value
 
value = instance.ScaleToGray
public bool ScaleToGray {get; set;}
public: __property bool get_ScaleToGray();
public: __property void set_ScaleToGray( 
   bool value
);
public:
property bool ScaleToGray {
   bool get();
   void set (    bool value);
}

Property Value

A boolean value which is true to enable. Otherwise, false is returned.
Remarks

When this property is set to true, and the image is a 1 bit per pixel (black and white), the image is scaled to gray. The resulting image is an 8-bit per pixel grayscale image. Using this property is particularly useful when attempting to create a thumbnail image of the original that is visually pleasing.

See Also

Reference

LoadOptions Class
LoadOptions Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback