IncludeOleData

IPdfOptions.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);
}

另请参见