DAGetTextBlockColor
النص، الاستخراج، الألوان، وظائف الوصول المباشر
الوصف
تُرجع مركّبًا واحدًا من لون النص في الكتلة النصية المحددة
تُرجع قيمة مركّب اللون كقيمة بين 0 و1
الصيغة
Delphi
Function TPDFlib.DAGetTextBlockColor(TextBlockListID, Index, ColorComponent: Integer): Double;
ActiveX
Function PDFlib::DAGetTextBlockColor(TextBlockListID As Long, Index As Long, ColorComponent As Long) As Double
DLL
double DLDAGetTextBlockColor(int InstanceID, int TextBlockListID, int Index, int ColorComponent);
المعاملات
| TextBlockListID | قيمة تُرجعها الدالتان DAExtractPageTextBlocks أو ExtractFilePageTextBlocks |
|---|---|
| Index | فهرس كتلة النص. أول كتلة نص في القائمة لها الفهرس 1. لـ RGB: 1 = أحمر 2 = أخضر 3 = أزرق لـ CMYK: 1 = سماوي 2 = أرجواني 3 = أصفر 4 = أسود |
| ColorComponent |