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