GMImage.SetAntiAlias
--------------------

Sets whether to Anti-alias Postscript and TrueType fonts (default true)

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.SetAntiAlias"; ImageRef; Flag ) 

**MBS**( **"GMImage.SetAntiAlias";** /\* Sets whether to Anti-alias Postscript and TrueType fonts (default true) \*/  
**$ImageRef**; /\* The image reference number.e.g. 1 \*/   
**$Flag**) /\* a boolean valuee.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| Flag | a boolean value | 0 |

### Result

Returns "OK" on success.

### Description

Sets whether to Anti-alias Postscript and TrueType fonts (default true)  
### See also

- [GMImage.GetAntiAlias](GMImageGetAntiAlias.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.SetAnimationIterations](GMImageSetAnimationIterations.md) - [GMImage.SetAttribute](GMImageSetAttribute.md)

[HTML Version](GMImageSetAntiAlias.shtml)