| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
SharpPlot.UseCmykCreate a color using the CMYK model. This allows full control over the inks used by PostScript printers if the output is saved in EPS or PDF formats. All other formats simply convert the chosen color to RGB for screen display. Examplesp.SetBackground(sp.UseCmyk(0,2,20,0),FillStyle.Solid,0); sp.Heading = "Check out Alternate Colour Models"; sp.Subheading = "This should look very like the main heading"; Color darkolive = sp.UseCmyk(9,0,24,58); sp.SetHeadingFont("Times New Roman",16,FontStyle.Italic,darkolive); sp.SetSubheadingFont("Times",12,FontStyle.Regular,Color.DarkOliveGreen); Overloads
Returns a standard Color object encoding the required CMYK values. This is used directly by EPS and PDF output (both of which support the CMYK color space) or converted back to RGB for screen display by all other formats. The exact colors shown on screen may vary depending on the software used to view the file. See also ... |