GetAnnotInteriorColor
註解與熱點連結
描述
讀取明確指定的三成分內部填色
支援 Line、Square、Circle、Polygon 與 PolyLine 註解
語法
Delphi
Function GetAnnotInteriorColor(Index: Integer; Out Red, Green, Blue: Double): Integer;參數
| Index | 目前所選頁面上的註解索引(1 起算);支援的子類型為 Line、Square、Circle、Polygon 與 PolyLine |
|---|---|
| Red | 接收 0 至 1 的紅色分量 |
| Green | 接收 0 至 1 的綠色分量 |
| Blue | 接收 0 至 1 的藍色分量 |
傳回值
| 1 | 註解具有三成分的 /IC 陣列,且已從其數值元素讀出各分量 |
|---|---|
| 0 | 未載入文件、子類型不受支援、Index 無效,或 /IC 不存在或格式錯誤;三個輸出都維持 0 |