* Register a new object, assigning it a reference. * * The object will be written on the next save.
(obj: PdfObject)
| 1971 | * The object will be written on the next save. |
| 1972 | */ |
| 1973 | register(obj: PdfObject): PdfRef { |
| 1974 | return this.ctx.registry.register(obj); |
| 1975 | } |
| 1976 | |
| 1977 | /** |
| 1978 | * Create and register a new dictionary. |
no outgoing calls