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); |