* Create and register a new array.
(items?: PdfObject[])
| 1995 | * Create and register a new array. |
| 1996 | */ |
| 1997 | createArray(items?: PdfObject[]): PdfRef { |
| 1998 | const arr = items ? new PdfArray(items) : new PdfArray(); |
| 1999 | |
| 2000 | return this.register(arr); |
| 2001 | } |
| 2002 | |
| 2003 | /** |
| 2004 | * Create and register a new stream. |