Hi all
I'm able to create CMYK colors by the following code
Color colorName = application.CreateCMYKColor(0, 93, 95, 0);
But I need to create a spot color with a specific name to use as an cutline for our cutter. The color is not important, but I need to give it a specific name "cut"I see the application.CreateSpotColor method, but I cant figure out how to use it.
Any suggestions?
Thanks
If you go to Window \ Dockers \ Color Palette Manager. In the Docker open Palette Libraries \ Spot \ Roland \ Roland Versaworks. There are 4 colors in the palette. One is named CutContour. This is a custom spot color used to define a cutline. For Roland devices, the RIP interprets this and uses it as a cutline.
I ended up with creating the palette in CorelDRAW first and then using the "CreateSpotColorByName" method to get the color.
Color cutColor = application.CreateSpotColorByName("cutsliss", "cut");
cutsliss is the palettename and cut is the colorname
But using this approach the palette and color must already be defined on the machine, I would prefer to be able to define it in the program.
Thanks, but the question is about programmatically creating a spot color in a C# program, not manually inside CorelDRAW
Nice...
I am very busy now. In weekend, if you do not find the way to programmatically make everything, I will will also try something.
May I know why do you need such a spot color? Usually spot colors are provided by third-party manufacturers in order to be a base for specific company-approved colors. For cutting the color doesn't matter too much. Is it just for having a name? Does the cutting machine recognize color name? And it must have that 'cut' name?
Is that a real need or a challenge to see how is it programmatically possible?