简体   繁体   中英

Aspose.Word Pdf properties

I create Pdа via Aspose.Word Can't find any class for modify pdf propeties to set author of document

Тип Время Сообщение 22:24:44 Компиляция кода проекта Ошибка при компиляции общего кода "CS0246" "The type or namespace name 'PdfSaveOptions' could not be found (are you missing a using directive or an assembly reference?)". [Строка: 120; Cтолбец: 4]

Something like:

PdfSaveOptions options = new PdfSaveOptions();
options.ExportGeneratorName = false;
doc.Save(output, options);

您可以使用Document.BuiltInDocumentProperties设置这些属性

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM