THotPDF.SetStructureElementClass Method
在带标签的结构元素上写入 PDF 1.7 14.9.2.2 规定的结构元素 /C 类名数组
声明
procedure SetStructureElementClass(Elem: THPDFDictionaryObject; const ClassNames: array of AnsiString);
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Elem | 由结构树创建 API 返回的结构元素字典对象 |
ClassNames | Attribute class names written to /C |
返回值
此成员不返回值
使用说明
- 共享的属性类在 Catalog 的 /ClassMap 中统一定义一次;该方法只在元素上写入单纯的类名数组
- Callers manage the corresponding /ClassMap entries separately