SetFormFieldCheckStyle
حقول النماذج
الوصف
يضبط نمط مربع الاختيار لحقول مربعات الاختيار أو الحقول الفرعية لأزرار الاختيار
الصيغة
Delphi
Function TPDFlib.SetFormFieldCheckStyle(Index, CheckStyle, Position: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldCheckStyle(Index As Long, CheckStyle As Long, Position As Long) As Long
DLL
int DLSetFormFieldCheckStyle(int InstanceID, int Index, int CheckStyle, int Position);
المعاملات
| Index | فهرس حقل النموذج المطلوب التعامل معه. أول حقل نموذج له الفهرس 1 |
|---|---|
| CheckStyle | 0 = Cross 1 = Check (Tick) 2 = Dot (Radio) 3 = XP check 4 = XP Radio 5 = Diamond 6 = Square 7 = Star |
| Position | 0 = Left align 1 = Center 2 = Right align |
قيم الإرجاع
| 0 | أحد المعاملات كان غير صالح |
|---|---|
| 1 | ضُبط نمط مربع الاختيار بنجاح |