[PdfEncryptionDetails.EncryptionAlgorithm property 获取或设置加密模式。 public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; } 也可以看看 enum PdfEncryptionAlgorithm class PdfEncryptionDetails 命名空间 Aspose.Diagram.Saving 部件 Aspose.Diagram]