---
title: CMEnableMatchingComment
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1805227-cmenablematchingcomment
---

# CMEnableMatchingComment

Inserts a comment into the currently open picture to turn matching on or off. 

## Declaration

```occ
void CMEnableMatchingComment (
   Boolean enableIt
);
```

## Parameters

- `enableIt`: A flag that directs the ColorSync Manager to generate a `cmEnableMatchingPicComment` comment if `true`, or a `cmDisbleMatchingPicComment` comment if `false`.

## Overview

If you call this function when no picture is open, it will have no effect. 

## See Also

### Working With QuickDraw

- [CWMatchPixMap](1805211-cwmatchpixmap.md)
- [CWCheckPixMap](1805214-cwcheckpixmap.md)
- [NCMBeginMatching](1805216-ncmbeginmatching.md)
- [CMEndMatching](1805220-cmendmatching.md)
- [NCMDrawMatchedPicture](1805223-ncmdrawmatchedpicture.md)
- [NCMUseProfileComment](1805229-ncmuseprofilecomment.md)
