THPDFPage.CreateListBox Method
方法摘要: THPDFPage.CreateListBox Method
宣告
function CreateListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
FieldName | 表單欄位名稱 |
InitialValue | 初始選取值 |
Options | 清單方塊可用值 |
Rectangle | 頁面上的表單物件矩形 |
Flags | CreateListBox 所使用的輸入 |
傳回值
所建立清單方塊的 THPDFAcroFormField wrapper
使用說明
- 在受影響的頁面、資源、欄位或目錄物件最終定案之前,請於頁面幾何工作流程中使用此 API
- 欄位建立後需要額外設定時,請使用此 API
- 較簡單的單呼叫流程,請使用 THPDFPage.AddListBox
相關 API
- THPDFPage
- THPDFPage Methods
- AcroForm Support