Read-only. Returns a Boolean value. If the object has a CMYK color, returns TRUE. Otherwise returns FALSE.
Applies to: Color object, ColorEntry object
[[Let] isCMYKRet =] object.IsCMYK |
The IsCMYK property syntax has these parts:
Part | Description |
object | Required. An expression that returns an instance of an object in the Applies to list. |
isCMYKRet | Optional. A Boolean type variable. |
It's recommended that you check the status of this property before using the Cyan, Magenta, Yellow and Black properties.
This example contains a document-level script. It demonstrates how to find out the color format of the fill color in a Shape object. If the color is in CMYK format, the value of the cyan component is displayed.
dim s as shape ' Create a Shape object |
See Also |
Black property, Cyan property, Magenta property, Yellow property , Index Property, IsRGB Property, IsCMYK Property |