Description:
Gets and sets access to image aliasing threshold attribute. A threshold integer value from 0 to 100. Its meaning depends on the Method Property value:
- If Method Property is set to IG_DSPL_ANTIALIAS_SCALE_TO_GRAY, Threshold determines the number of black and white pixels in the destination gray pixel value. A value of 100 directs ImageGear to take 100% of white pixels. A value of 0 directs ImageGear to take 100% of black pixels. The default value, which is 50, directs ImageGear to take 50% white and 50% black pixels.
- If Method Property is set to IG_DSPL_ANTIALIAS_PRESERVE_BLACK, Threshold determines the number of black pixels to preserve. A value of 100 means that 100% of the black pixels are preserved. The default value is 50.
- If Method Property is set to IG_DSPL_ANTIALIAS_PRESERVE_WHITE, Threshold determines the number of white pixels to preserve. A value of 100 means that 100% of white pixels are preserved. The default values is 50.
Property Type:
Read-write property
Return Type:
Long
Default Value: 50
Valid Values: 0-100
Bits Per Pixel:
1
Sample:
Display