THPDFPage.CreateTextField Method
메서드 요약: THPDFPage.CreateTextField Method
선언
function CreateTextField(const FieldName, InitialValue: AnsiString; Rectangle: TRect; MaxLen: Integer = 0; Flags: THPDFFormFieldFlags = []): THPDFAcroFormField;
유닛
HPDFDoc
매개 변수
| 이름 | 목적 |
|---|---|
FieldName | Name of the form field |
InitialValue | Initial text value |
Rectangle | Widget rectangle on the page |
MaxLen | Maximum accepted text length, or 0 for no explicit limit |
Flags | Additional form field flags |
반환 값
THPDFAcroFormField wrapper for the created text field
사용 참고
- Use the returned wrapper when the text field needs additional appearance or action configuration
- Use THPDFPage.AddTextField for the simpler one-call workflow
관련 API
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents