Back to Devexpress

PdfDocument.AccessMode Property

officefileapi-devexpress-dot-pdf-dot-pdfdocument-65474f1d.md

latest1.5 KB
Original Source

PdfDocument.AccessMode Property

Gets how the loaded PDF document is opened and the level of access granted.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfDocumentAccessMode AccessMode { get; }
vb
Public ReadOnly Property AccessMode As PdfDocumentAccessMode

Property Value

TypeDescription
PdfDocumentAccessMode

Defines the level of access granted to an opened PDF document.

|

Available values:

NameDescription
Unencrypted

The document is not encrypted and can be opened without any password restrictions.

| | Owner |

The document is opened with the owner’s password, which grants full access, including permission to modify security settings.

| | User |

The document is opened with the user password and may have limited access according to the document’s permission settings.

|

See Also

PdfDocument Class

PdfDocument Members

DevExpress.Pdf Namespace