Novacode.Paragraph.Color C# (CSharp) Method

Color() public method

For use with Append() and AppendLine()
public Color ( Color c ) : Paragraph
c Color A color to use on the appended text.
return Paragraph
        public Paragraph Color(Color c)
        {
            ApplyTextFormattingProperty(XName.Get("color", DocX.w.NamespaceName), string.Empty, new XAttribute(XName.Get("val", DocX.w.NamespaceName), c.ToHex()));
            return this;
        }