PrintComments

HandoutLayoutingOptions.PrintComments 属性

指定是否在幻灯片上显示注释

public bool PrintComments { get; set; }

备注

默认值为 false

示例

示例:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    RenderingOptions options = new RenderingOptions
    {
        SlidesLayoutOptions = new HandoutLayoutingOptions
        {
            Handout = HandoutType.Handouts4Horizontal,
            PrintComments = false
        }
    };
    
    pres.Slides[0].GetThumbnail(options, new Size(1920, 1080)).Save("pres-handout.png");
}

另请参阅