ReadOnlyRecommended

IProtectionManager.ReadOnlyRecommended 属性

获取或设置只读推荐。可读写布尔值。

public bool ReadOnlyRecommended { get; set; }

示例

[C#]
Presentation pres = new Presentation();
pres.ProtectionManager.ReadOnlyRecommended = true;
pres.Save("ReadOnlyPresentation.pptx", SaveFormat.Pptx);

另请参阅