EmfStretchMode Enumeration

The StretchMode enumeration is used to specify how color data is added to or removed from bitmaps that are stretched or compressed.

Module: aspose.imaging.fileformats.emf.emf.consts

Full Name: aspose.imaging.fileformats.emf.emf.consts.EmfStretchMode

Aspose.Imaging Version: 24.6.0

Members

Member nameDescription
STRETCH_ANDSCANSPerforms a Boolean AND operation using the color values for the eliminated and existing pixels.
If the bitmap is a monochrome bitmap, this mode preserves black pixels at the expense of white pixels
STRETCH_DELETESCANSDeletes the pixels. This mode deletes all eliminated lines of pixels without trying to preserve their information.
STRETCH_HALFTONEMaps pixels from the source rectangle into blocks of pixels in the destination rectangle.
The average color over the destination block of pixels approximates the color of the source pixels.
STRETCH_ORSCANSPerforms a Boolean OR operation using the color values for the eliminated and existing pixels.
If the bitmap is a monochrome bitmap, this mode preserves white pixels at the expense of black pixels.