* Flatten all Optional Content Groups (layers) in the document. * * This removes the OCProperties dictionary from the catalog, which: * - Makes ALL layer content unconditionally visible (nothing is deleted) * - Removes the layer panel/toggle UI from PDF viewers * - Content that was in
()
| 2973 | * ``` |
| 2974 | */ |
| 2975 | flattenLayers(): FlattenLayersResult { |
| 2976 | return LayerUtils.flattenLayers(this.ctx); |
| 2977 | } |
| 2978 | |
| 2979 | // ───────────────────────────────────────────────────────────────────────────── |
| 2980 | // Annotation Flattening |
no outgoing calls
no test coverage detected