Returns the text from the current form. Returns the value as a string if possible for the given form type
This method doesn't have any parameters.
builder.CreateFile("pdf"); var oDocument = Api.GetDocument(); var oDateForm = Api.CreateDateForm({"key": "Nowadays", "tip": "Enter current date", "required": true, "placeholder": "Date", "format": "mm.dd.yyyy", "lang": "en-US"}); var oParagraph = oDocument.GetElement(0); oParagraph.AddElement(oDateForm); var sText = oDateForm.GetText(); oParagraph = Api.CreateParagraph(); oParagraph.AddText("Form text: " + sText); oDocument.Push(oParagraph); builder.SaveFile("pdf", "GetText.pdf"); builder.CloseFile();