SetMarkupAnnotStyle
色彩、註解與熱點連結
描述
設定文字標記註解的背景顏色與透明度
語法
Delphi
Function TPDFlib.SetMarkupAnnotStyle(Index: Integer; Red, Green, Blue, Transparency: Double): Integer;
ActiveX
Function PDFlib::SetMarkupAnnotStyle(Index As Long, Red As Double, Green As Double, Blue As Double, Transparency As Double) As Long
DLL
int DLSetMarkupAnnotStyle(int InstanceID, int Index, double Red, double Green, double Blue, double Transparency);
參數
| Index | 註解的索引。頁面上第一個註解的索引為 1。 |
|---|---|
| Red | 顏色的紅成分 |
| Green | 顏色的綠成分 |
| Blue | 顏色的藍成分 |
| Transparency | 要套用的透明度 0 = 無透明 50 = 50% 透明 100 = 完全看不見 |