Gets and sets whether the image is scaled to gray during a resize of the image.
Read-write property
Visual Basic |
---|
Public Property ScaleResizeToGray As Boolean |
True to scale to gray when resizing the image.
False to not scale to gray during a resize.
When this property is set to True, and the current image is 1 bit per pixel (black and white) and one of the resize methods is invoked, the image will be resized and scaled to gray. The resulting image is an 8-bit per pixel grayscale image.
This is particularly useful when attempting to create a thumbnail image of the original that is visually pleasing.