Create Color object from string : Color : Drawing 2D C# Examples


C# Examples » Drawing 2D » Color »

 

Create Color object from string









    
using  System;
using  System.Drawing;
using  System.Collections;
using  System.ComponentModel;
using  System.Windows.Forms;
using  System.Data;


public  class  MainClass{
      public  static  void  Main(){
        Color  currColor  =  Color.FromName("Blue");
      }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Drawing 2D
» Color