Gets or sets an Integer value, that represents the magenta component of CMYK color.
Applies to: Color object, ColorEntry object
[[Let] magentaRet =] object.Magenta [Let] object.Magenta = magentaSet |
The Magenta property syntax has these parts:
Part | Description |
object | Required. An expression that returns an object from the Applies to list. |
magentaRet | Optional. An Integer value. |
magentaSet | Required. An expression that returns an Integer value. |
The Magenta property is only effective if the color is a CMYK color (see the IsCMYK property).
This example contains a document-level script. It demonstrates how to find out the value of the magenta component of the fill color (in CMYK format) of a Shape object.
dim s as shape ' Create a Shape object |
See Also |
Cyan property, Yellow property, Black property, IsCMYK property |