* Set the document author. * * @param author - The person who created the document content * * @example * ```typescript * pdf.setAuthor("Jane Smith"); * ```
(author: string)
| 1125 | * ``` |
| 1126 | */ |
| 1127 | setAuthor(author: string): void { |
| 1128 | this.getInfoDict().set("Author", PdfString.fromString(author)); |
| 1129 | } |
| 1130 | |
| 1131 | /** |
| 1132 | * Get the document subject. |
no test coverage detected