Creates the empty text properties.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oTextPr = Api.CreateTextPr(); oTextPr.SetFontSize(30); oTextPr.SetBold(true); oTextPr.SetCaps(true); oTextPr.SetColor(51, 51, 51, false); oTextPr.SetFontFamily("Comic Sans MS"); var oFill = Api.CreateSolidFill(Api.CreateRGBColor(255, 111, 61)); var oStroke = Api.CreateStroke(1 * 36000, Api.CreateSolidFill(Api.CreateRGBColor(51, 51, 51))); var oTextArt = Api.CreateWordArt(oTextPr, "onlyoffice", "textArchUp", oFill, oStroke, 0, 150 * 36000, 50 * 36000); var oParagraph = oDocument.GetElement(0); oParagraph.AddDrawing(oTextArt); builder.SaveFile("docx", "CreateTextPr.docx"); builder.CloseFile();