CertificateSecurityIsAllowed Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Determines whether the specified permission is allowed for user.

Namespace:  Apitron.PDF.Kit.Security
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public bool IsAllowed(
	Permissions flag
)

Parameters

flag
Type: Apitron.PDF.Kit.SecurityPermissions
The permission.

Return Value

Type: Boolean
true if the specified permission is allowed; otherwise, false.

Implements

IDocumentSecurityIsAllowed(Permissions)
Examples

C#
FixedDocument document = new FixedDocument();
bool flag = document.SecuritySettings.IsAllowed(Permissions.Extract);
See Also

Reference