Document Description |
The document properties - author, title, subject, keywords, creation date - are set with the PdfDocumentInfo property of the PdfConverter object. PDF readers show them in the document properties, and search tools index them.
pdfConverter.PdfDocumentInfo.AuthorName = "ExpertPdf"; pdfConverter.PdfDocumentInfo.Title = "PDF Document Info"; pdfConverter.PdfDocumentInfo.Subject = "HTML to PDF Converter"; pdfConverter.PdfDocumentInfo.Keywords = "HTML, PDF, Converter"; pdfConverter.PdfDocumentInfo.CreatedDate = DateTime.Now;
The title, description and keywords of the HTML page itself are available after the conversion in HtmlDocumentInfo, for example to copy the page title into the document properties of a document converted with GetPdfDocumentObjectFromUrl(String).