InterpretMaskOpAsOpacity

InkOptions.InterpretMaskOpAsOpacity 属性

使用 ROP 操作或不透明度进行画笔渲染。

public bool InterpretMaskOpAsOpacity { get; set; }

备注

默认值为 true。

示例

下面的示例演示如何设置使用 ROP 来导出 Ink 元素:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions pdfOptions = new PdfOptions();
    pdfOptions.InkOptions.InterpretMaskOpAsOpacity = false;
    pres.Save("output.pptx", SaveFormat.Pdf, pdfOptions);
}

另请参见