SetTableCellPadding
تخطيط الصفحة
الوصف
يضبط حشو خلية واحدة أو أكثر. والحشو هو المسافة من حد الخلية إلى محتويات النص. ويُضبط الحشو على جانب الإطار المحدد
الصيغة
Delphi
Function TPDFlib.SetTableCellPadding(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; NewPadding: Double): Integer;
ActiveX
Function PDFlib::SetTableCellPadding(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, NewPadding As Double) As Long
DLL
int DLSetTableCellPadding(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double NewPadding);
المعاملات
| TableID | قيمة TableID تُرجعها الدالة CreateTable |
|---|---|
| FirstRow | رقم أول صف مطلوب تعيينه. الصف العلوي هو الصف رقم 1 |
| FirstColumn | رقم أول عمود مطلوب تعيينه. العمود في أقصى اليسار هو العمود رقم 1 |
| LastRow | رقم الصف الأخير المطلوب تعيينه |
| LastColumn | رقم العمود الأخير المطلوب تعيينه |
| BorderIndex | 0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom |
| NewPadding | الحشو الجديد على جانب الإطار المحدد |