[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Security.PasswordMatches

Enum PasswordMatches

Namespace
GrapeCity.Documents.Pdf.Security
Assembly
GcDocs.Pdf.dll

Defines the flags that describe a PDF's password protection status.

See PasswordMatches property for details.

[Flags]
public enum PasswordMatches

Fields

None = 0

The document is not encrypted.

OwnerPasswordEmpty = 2

The document is encrypted with an empty Owner password.

OwnerPasswordMatch = 8

The password passed to the Load(Stream, byte[]) or Load(Stream, string) method matches the document's Owner password.

UserPasswordEmpty = 1

The document is encrypted with an empty User password.

UserPasswordMatch = 4

The password passed to the Load(Stream, byte[]) or Load(Stream, string) method matches the document's User password.