IsFixed
Checks if the current form is fixed size.
Inherited from ApiFormBase.IsFixed.
Example
Determine whether a form field has a fixed size in a document.
// How do I find out if a form field is locked to a specific size in a document?
// Confirm the fixed-size status of a form field before deciding whether layout adjustments are needed in a document.
let doc = Api.GetDocument();
let textForm = Api.CreateTextForm({"key": "Personal information", "tip": "Enter your first name", "required": true, "placeholder": "First name", "comb": true, "maxCharacters": 10, "cellWidth": 3, "multiLine": false, "autoFit": false});
let paragraph = doc.GetElement(0);
paragraph.AddElement(textForm);
textForm.ToFixed(10 * 240, 2 * 240);
let fixed = textForm.IsFixed();
paragraph = Api.CreateParagraph();
paragraph.AddText("The first form from this document is fixed: " + fixed);
doc.Push(paragraph);