Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
true if the specified permission is allowed; otherwise, false.
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
Parameters
- flag
- Type: Apitron.PDF.Kit.SecurityPermissions
The permission.
Return Value
Type: Booleantrue 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