Returns the text properties from the current form. Used if possible for this type of form
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oComboBoxForm = Api.CreateComboBoxForm({"key": "Personal information", "tip": "Choose your country", "required": true, "placeholder": "Country", "editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]}); var oParagraph = oDocument.GetElement(0); oParagraph.AddElement(oComboBoxForm); var oTextPr = Api.CreateTextPr(); oTextPr.SetFontSize(30); oTextPr.SetBold(true); oComboBoxForm.SetTextPr(oTextPr); var oFormTextPr = oComboBoxForm.GetTextPr(); oFormTextPr.SetItalic(true); oComboBoxForm.SetTextPr(oFormTextPr); builder.SaveFile("docx", "GetTextPr.docx"); builder.CloseFile();