IncludeOleData

PdfOptions.IncludeOleData 属性

如果为真,则将演示文稿中的所有 OLE 数据转换为结果 PDF 中的嵌入文件。可读/可写布尔值。

public bool IncludeOleData { get; set; }

注释

默认值为 false

示例

示例:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions options = new PdfOptions { IncludeOleData = true };
    pres.Save("pres.pdf", SaveFormat.Pdf, options);
}

另见