SetFormFieldIconStyle
表單欄位
說明
本頁介紹 PDFlibPas 中屬於「表單欄位」主題的 SetFormFieldIconStyle。API 名稱、參數、類別名稱、檔案名稱和字面值保持原樣,以便和 Delphi 函式庫及 DLL 進入點完全對應。
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。
語法
Delphi
Function TPDFlib.SetFormFieldIconStyle(Index, Placement, Scale, ScaleType, HorizontalShift, VerticalShift: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldIconStyle(Index As Long, Placement As Long, Scale As Long, ScaleType As Long, HorizontalShift As Long, VerticalShift As Long) As Long
DLL
int DLSetFormFieldIconStyle(int InstanceID, int Index, int Placement, int Scale, int ScaleType, int HorizontalShift, int VerticalShift);
參數
| Index | Index 是 SetFormFieldIconStyle 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
|---|---|
| Placement | Placement 是 SetFormFieldIconStyle 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
| Scale | Scale 定義目前頁面單位下的座標、尺寸或度量值。 |
| ScaleType | ScaleType 定義目前頁面單位下的座標、尺寸或度量值。 |
| HorizontalShift | HorizontalShift 是 SetFormFieldIconStyle 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
| VerticalShift | VerticalShift 是 SetFormFieldIconStyle 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
傳回值
| 0 | 此值說明 SetFormFieldIconStyle 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |
|---|---|
| 1 | 此值說明 SetFormFieldIconStyle 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |