PdfSaveOptions.DisplayDocTitle
PdfSaveOptions DisplayDocTitle property. A flag specifying whether the windows title bar should display the document title taken from the Title entry of the document information dictionary.
PdfSaveOptions.DisplayDocTitle property
A flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary.
public bool DisplayDocTitle { get; set; }
Remarks
If false
, the title bar should instead display the name of the PDF file containing the document.
This flag is required by PDF/UA compliance. true
value will be used automatically when saving to PDF/UA.
The default value is false
.
Examples
Shows how to display the title of the document as the title bar.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.DisplayDocTitle = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "PdfSaveOptions.DisplayDocTitle.pdf", pdfSaveOptions)
.Execute();
See Also
- class PdfSaveOptions
- namespace Wordize.Saving
- assembly Wordize