Novacode.Paragraph.Script C# (CSharp) Method

Script() public method

For use with Append() and AppendLine()
public Script ( System.Script script ) : Paragraph
script System.Script The script style to apply to the last appended text.
return Paragraph
        public Paragraph Script(Script script)
        {
            switch (script)
            {
                case Novacode.Script.none:
                    break;

                default:
                    {
                        ApplyTextFormattingProperty(XName.Get("vertAlign", DocX.w.NamespaceName), string.Empty, new XAttribute(XName.Get("val", DocX.w.NamespaceName), script.ToString()));
                        break;
                    }
            }

            return this;
        }