SetTableCellBorderColor
الألوان، تخطيط الصفحة
الوصف
يضبط لون حد واحد أو أكثر من حدود الخلايا باستخدام فضاء الألوان RGB
الصيغة
Delphi
Function TPDFlib.SetTableCellBorderColor(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetTableCellBorderColor(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetTableCellBorderColor(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double Red, double Green, double Blue);
المعاملات
| TableID | قيمة TableID تُرجعها الدالة CreateTable |
|---|---|
| FirstRow | رقم أول صف مطلوب تعيينه. الصف العلوي هو الصف رقم 1 |
| FirstColumn | رقم أول عمود مطلوب تعيينه. العمود في أقصى اليسار هو العمود رقم 1 |
| LastRow | رقم الصف الأخير المطلوب تعيينه |
| LastColumn | رقم العمود الأخير المطلوب تعيينه 0 = كل الحدود 1 = اليسار 2 = الأعلى 3 = اليمين 4 = الأسفل |
| BorderIndex | |
| Red | المركّب الأحمر للون، بقيمة من 0 إلى 1 |
| Green | المركّب الأخضر للون، بقيمة من 0 إلى 1 |
| Blue | المركّب الأزرق للون، بقيمة من 0 إلى 1 double Red, double Green, double Blue); |