Share via


PdfDocument.IsPasswordProtected Property

Definition

Gets whether the Portable Document Format (PDF) document is password-protected.

public:
 property bool IsPasswordProtected { bool get(); };
bool IsPasswordProtected();
public bool IsPasswordProtected { get; }
var boolean = pdfDocument.isPasswordProtected;
Public ReadOnly Property IsPasswordProtected As Boolean

Property Value

Boolean

bool

True if the Portable Document Format (PDF) document is password-protected; otherwise, false.

Applies to