Esempio n. 1
0
        public static Color ToColor(this OpenXml.StringValue color)
        {
            var hex    = color?.Value;
            var result = hex.ToColor();

            return(result);
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the StringValue class by deep copying the supplied StringValue class.
 /// </summary>
 /// <param name="source">The source StringValue class.</param>
 public StringValue(StringValue source)
     : base(source)
 {
 }