CMYK colors -rectangles and circles

CMYK colors -rectangles and circles

Forum member · Oct 19, 2006
Hi! I have a question about the colors in the documents created by DynamicPDF. Is it possible to set CMYK-colors on objects like rectangles and circles and not in webcolor-format. I need to color-seperate my document before printing. Thanks! Hanna

Re: CMYK colors -rectangles and circles

Support · Oct 19, 2006
Hello Hanna, Yes, it is possible to use CMYK colors for both Rectangle and Circle page element without any problem. You can give the CMYK color in the Rectangle's constructor as shown in the code block below: Dim Rectangle Set Rectangle = MyPage.AddRectangle( 10, 100, 200, 100, MyDocument.Colors.GetCmykColor( 0.1, 0.0, 1.0, 0.0 ), MyDocument.Colors.GetCmykColor( 1.0, 0.5, 0.7, 0.1 ), 5, DPDF_LineStyle_Solid, DPDF_ApplyColor_Both ) Thanks, ceTe Software Support Team

Re: CMYK colors -rectangles and circles

Forum member · Oct 19, 2006
thank you for such a quick answer! :) Hanna