ITMSFNCCustomPDFFormFieldsLib.AddMemo Method
Adds an empty multi-line text edit field at the specified position on the current page.
API unit family: TMSFNCPDFLib
Declaring type: ITMSFNCCustomPDFFormFieldsLib
Overloads
Overload 1
Adds an empty multi-line text edit field at the specified position on the current page.
function AddMemo(AFieldName: string; ARect: TRectF; AHorizontalAlign: TTMSFNCGraphicsTextAlign = gtaLeading; AReadOnly: Boolean = False; AHidden: Boolean = False): ITMSFNCCustomPDFFormFieldEdit; overload;
Parameters
| Name | Description |
|---|---|
AFieldName |
Unique name for the field in the PDF form. |
ARect |
Bounding rectangle of the field in PDF coordinate units. |
AHorizontalAlign |
Horizontal alignment of the field text. |
AReadOnly |
When True, the field is read-only in the PDF viewer. |
AHidden |
When True, the field is invisible in the PDF viewer. |
Returns
Interface reference to the newly created memo field.
Overload 2
Adds a multi-line text edit field pre-filled with the specified text at the specified position on the current page.
function AddMemo(AFieldName: string; ARect: TRectF; AText: UnicodeString; AHorizontalAlign: TTMSFNCGraphicsTextAlign = gtaLeading; AReadOnly: Boolean = False; AHidden: Boolean = False): ITMSFNCCustomPDFFormFieldEdit; overload;
Parameters
| Name | Description |
|---|---|
AFieldName |
Unique name for the field in the PDF form. |
ARect |
Bounding rectangle of the field in PDF coordinate units. |
AText |
Initial text content of the field. |
AHorizontalAlign |
Horizontal alignment of the field text. |
AReadOnly |
When True, the field is read-only in the PDF viewer. |
AHidden |
When True, the field is invisible in the PDF viewer. |
Returns
Interface reference to the newly created memo field.