Class PdfEncryptionDetails

Class PdfEncryptionDetails

ชื่อพื้นที่: Aspose.Words.Saving การประกอบ: Aspose.Words.dll (25.4.0)

มีรายละเอียดการเข้ารหัสและการเข้าถึงอนุญาตสําหรับเอกสาร PDF

เพื่อเรียนรู้เพิ่มเติมเยี่ยมชม Protect or Encrypt a Document บทความเอกสาร

public class PdfEncryptionDetails

Inheritance

object PdfEncryptionDetails

อนุญาโตตุลาการ

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PdfEncryptionDetails(รั้ว, รั้ว)

เริ่มต้นตัวอย่างของชั้นนี้

public PdfEncryptionDetails(string userPassword, string ownerPassword)

Parameters

userPassword string

ownerPassword string

PdfEncryptionDetails(ลวด, ลวด, PdfPermissions)

เริ่มต้นตัวอย่างของชั้นนี้

public PdfEncryptionDetails(string userPassword, string ownerPassword, PdfPermissions permissions)

Parameters

userPassword string

ownerPassword string

permissions PdfPermissions

Properties

OwnerPassword

รายละเอียดรหัสผ่านเจ้าของสําหรับเอกสาร PDF ที่เข้ารหัส

public string OwnerPassword { get; set; }

คุณสมบัติมูลค่า

string

Remarks

รหัสผ่านเจ้าของช่วยให้ผู้ใช้สามารถเปิดเอกสาร PDF ที่เข้ารหัสได้โดยไม่มีข้อ จํากัด การเข้าถึงใด ๆ ที่ระบุไว้ใน Aspose.Words.Saving.PdfEncryptionDetails.Permissions

รหัสผ่านเจ้าของไม่สามารถเหมือนกับรหัสผ่านผู้ใช้

Permissions

รายละเอียดการดําเนินงานที่ได้รับอนุญาตให้ผู้ใช้บนเอกสาร PDF ที่เข้ารหัสค่าเริ่มต้นคือ Aspose.Words.Saving.PdfPermissions.DisallowAll

public PdfPermissions Permissions { get; set; }

คุณสมบัติมูลค่า

PdfPermissions

UserPassword

รายละเอียดรหัสผ่านผู้ใช้ที่จําเป็นในการเปิดเอกสาร PDF ที่เข้ารหัส

public string UserPassword { get; set; }

คุณสมบัติมูลค่า

string

Remarks

รหัสผ่านผู้ใช้จะต้องเปิดเอกสาร PDF ที่เข้ารหัสเพื่อดู ความอนุญาตที่ระบุไว้ใน Aspose.Words.Saving.PdfEncryptionDetails.Permissions จะถูกบังคับใช้โดยซอฟต์แวร์อ่าน

รหัสผ่านผู้ใช้อาจเป็นหรือรหัสผ่านที่ว่างเปล่า ในกรณีนี้ไม่มีรหัสผ่านจะถูกขอจากผู้ใช้เมื่อเปิดเอกสาร PDF รหัสผ่านผู้ใช้ไม่สามารถเหมือนกับรหัสผ่านเจ้าของ

 แบบไทย