ApiBaseAnnotation
表示 ApiBaseAnnotation 类。
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| AddReply | boolean | 在此批注上添加回复。 |
| Delete | boolean | 从文档中移除批注。 |
| GetAuthorName | string | 获取批注作者姓名。 |
| GetBorderColor | ApiColor | 获取批注边框颜色。 |
| GetBorderEffectIntensity | boolean | 获取批注边框效果强度。 |
| GetBorderEffectStyle | AnnotBorderEffectStyle | 获取批注边框效果样式。 |
| GetBorderStyle | AnnotBorderStyle | 获取批注边框样式。 |
| GetBorderWidth | pt | 获取批注边框宽度。 |
| GetContents | string | 获取批注内容。 |
| GetCreationDate | number | 获取批注创建日期。 |
| GetDashPattern | number[] | 获取批注虚线图案。 |
| GetDisplay | DisplayType | 获取批注显示类型。 |
| GetFillColor | ApiColor | 获取批注填充颜色。 |
| GetModDate | number | 获取批注最后修改日期。 |
| GetOpacity | string | 获取批注不透明度。 |
| GetPosition | Point | 获取批注位置。 |
| GetRect | Rect | 设置批注矩形。 |
| GetReplies | ApiTextAnnotation[] | 获取此批注的回复。 |
| GetSubject | string | 获取批注主题。 |
| GetUniqueName | string | 获取批注唯一名称。 |
| SetAuthorName | boolean | 设置批注作者姓名。 |
| SetBorderColor | boolean | 设置批注边框颜色。 |
| SetBorderEffectIntensity | boolean | 设置批注边框效果强度。💡 可应用于圆形、方形、自由文本和多边形批注 |
| SetBorderEffectStyle | boolean | 设置批注边框效果样式。💡 可应用于圆形、方形、自由文本和多边形批注 |
| SetBorderStyle | boolean | 设置批注边框样式。 |
| SetBorderWidth | boolean | 设置批注边框宽度。 |
| SetContents | boolean | 设置批注内容。 |
| SetCreationDate | boolean | 设置批注创建日期。 |
| SetDashPattern | boolean | 设置批注虚线图案。💡 边框样式属性必须设置为 "dashed"。 |
| SetDisplay | boolean | 设置批注显示类型。 |
| SetFillColor | boolean | 设置批注填充颜色。 |
| SetModDate | boolean | 设置批注最后修改日期。 |
| SetOpacity | boolean | 设置批注不透明度。 |
| SetPosition | boolean | 设置批注位置。 |
| SetRect | boolean | 设置批注矩形。 |
| SetSubject | boolean | 设置批注主题。 |
| SetUniqueName | boolean | 设置批注唯一名称。 |