Class PdfEncryptionDetails

Class PdfEncryptionDetails

Název místa: Aspose.Words.Saving Shromáždění: Aspose.Words.dll (25.4.0)

Obsahuje podrobnosti o šifrování a povolení přístupu k dokumentu PDF.

Chcete-li se dozvědět více, navštivte Protect or Encrypt a Document Dokumentační článek .

public class PdfEncryptionDetails

Inheritance

object PdfEncryptionDetails

Dědiční členové

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

Constructors

PdfEncryptionDetails(String , String)

Začínáme s jedním příkladem této třídy.

public PdfEncryptionDetails(string userPassword, string ownerPassword)

Parameters

userPassword string

ownerPassword string

PdfEncryptionDetails(String, String a PdfPermissions)

Začínáme s jedním příkladem této třídy.

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

Parameters

userPassword string

ownerPassword string

permissions PdfPermissions

Properties

OwnerPassword

Zadejte heslo majitele pro šifrovaný PDF dokument.

public string OwnerPassword { get; set; }

Hodnota nemovitosti

string

Remarks

Vlastník hesla umožňuje uživateli otevřít šifrovaný PDF dokument bez jakýchkoliv omezení přístupu uvedených v Aspose.Words.Saving.PdfEncryptionDetails.Permissions.

Vlastní heslo nemůže být stejné jako uživatelské heslo.

Permissions

Určuje operace, které jsou uživateli povoleny na šifrovaném PDF dokumentu.Standardní hodnota je Aspose.Words.Saving.PdfPermissions.DisallowAll.

public PdfPermissions Permissions { get; set; }

Hodnota nemovitosti

PdfPermissions

UserPassword

Uveďte uživatelské heslo potřebné k otevření šifrovaného PDF dokumentu.

public string UserPassword { get; set; }

Hodnota nemovitosti

string

Remarks

Uživatelské heslo bude nutné otevřít šifrovaný PDF dokument pro zobrazení. Povolení uvedená v Aspose.Words.Saving.PdfEncryptionDetails.Permissions bude uplatněna čtečkou softwaru.

Uživatelské heslo může být nebo prázdný řádek, v tomto případě nebude požadováno od uživatele při otevření PDF dokumentu. Uživatelské heslo nemůže být stejné jako heslo majitele.

 Čeština