ColorFormat.SetCMYK(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a cyan-magenta-yellow-black (CMYK) color value.
public:
void SetCMYK(int Cyan, int Magenta, int Yellow, int Black);
public void SetCMYK (int Cyan, int Magenta, int Yellow, int Black);
abstract member SetCMYK : int * int * int * int -> unit
Public Sub SetCMYK (Cyan As Integer, Magenta As Integer, Yellow As Integer, Black As Integer)
Parameters
- Cyan
- Int32
A value that represents the cyan component of the color. Can be any value from 0 to 255.
- Magenta
- Int32
A value that represents the magenta component of the color. Can be any value from 0 to 255.
- Yellow
- Int32
A value that represents the yellow component of the color. Can be any value from 0 to 255.
- Black
- Int32
A value that represents the black component of the color. Can be any value from 0 to 255.