THotPDF.SetStructureClassMapEntry Method
Sets structure class map entry state for subsequent Tagged PDF accessibility output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
宣言
procedure SetStructureClassMapEntry(const AClass: AnsiString; AttrDict: THPDFDictionaryObject);
ユニット
HPDFDoc
パラメータ
| 名前 | 目的 |
|---|---|
AClass | 構造要素の /C エントリーから参照されるクラス名(SetStructureElementClass を参照)。空にはできません |
AttrDict | このクラスの要素が継承する属性ディクショナリー。クラスエントリーを取り除くには nil を指定します(最後の 1 つを取り除くと /ClassMap も削除されます) |
戻り値
このメンバーは値を返しません
使用上の注意
- 影響を受けるページ、リソース、フィールド、またはカタログオブジェクトが確定する前に、Tagged PDF アクセシビリティワークフローでこの API を使用してください
AttrDictの所有者はドキュメントです。解放しないでください。同じディクショナリーを複数のクラス名で、あるいは同じ名前で再度登録でき、1 つのエントリーを取り除いても他のエントリーは無傷のままです- 安定
- Keep begin and end calls balanced so the structure tree remains valid