[PdfSecurityOptions.UserPassword property 获取或设置用户密码 public string UserPassword { get; set; } 也可以看看 class PdfSecurityOptions 命名空间 Aspose.Cells.Rendering.PdfSecurity 部件 Aspose.Cells]