Sets the placeholder text to the current form. Can't be set to checkbox or radio button.
Name | Type | Description |
sText | string | The text that will be set to the current form. |
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); oDateForm.SetPlaceholderText("Your placeholder"); builder.SaveFile("pdf", "SetPlaceholderText.pdf"); builder.CloseFile();