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 |