Sets the Antialiasing Mode the driver uses for rendering text for image output file formats. Text antialiasing is for Grayscale and Color output formats. For 1 bit black and white documents, the ANTIALIASING_AUTO or ANTIALIASING_NONE options should be used, otherwise jagged edges will appear on the rendered characters.
SetAntialiasingMode(pDevMode As Long, iValue As Long) As Boolean
Input value - handle to the BlackIceDEVMODE structure
Input value -one of the following values:
0: None - Turns off text antialiasing.
1: Normal - Uses the default antialiasing method. This method is not recommended for 1 bit black and white output formats.
2: ClearType - Uses Microsoft ClearType antialiasing for fonts. This method is using sub-pixel rendering and it is meant to be used for output images that will be displayed on computer screens at 100% size. This method is not recommended for 1 bit black and white output formats.
3: Legacy - Emulates the behavior of Black Ice Printer Drivers before version 14.99. This method is not recommended for 1 bit black and white output formats.
4: Automatically selects the best antialiasing method based on output format and resolution. Antialiasing is disabled for 1 bit black and white documents. For 8 or 24 bit documents that have resolution below 150 DPI, ClearType antialiasing is used. For 8 or 24 bit documents that has a resolution of 150 DPI or above, normal antialiasing is used. The printing application can change the antialiasing method on a per-font basis during printing, but antialiasing for 1 bit output formats is not allowed. (default value)
Return value - TRUE on success, FALSE otherwise.
NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.