Beispiel #1
0
 public override string ToString()
 {
     return(String.Format("C={0}, M={1}, Y={2}, K={3}", new string[]
     {
         Cyan.ToString(),
         Magenta.ToString(),
         Yellow.ToString(),
         Black.ToString(),
     }));
 }
Beispiel #2
0
 /// <summary>
 /// Returns a System.String object that represents the current object.
 /// </summary>
 /// <returns>Text as a sequence of Unicode characters</returns>
 public override string ToString()
 {
     return(Cyan.ToString() + "\n" + Magenta.ToString() + "\n" + Yellow.ToString() + "\n" + Keycolor.ToString());
 }