Logically ANDs flag and inverted mask and return result.

Namespace: Spire.Pdf.Security
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
[ObsoleteAttribute("This method may be removed in the future.To re-set permissions, please call the method' Encrypt(...)'")]
public PdfPermissionsFlags ResetPermissions(
	PdfPermissionsFlags flags
)
<ObsoleteAttribute("This method may be removed in the future.To re-set permissions, please call the method' Encrypt(...)'")> 
Public Function ResetPermissions ( 
	flags As PdfPermissionsFlags
) As PdfPermissionsFlags
public:
[ObsoleteAttribute(L"This method may be removed in the future.To re-set permissions, please call the method' Encrypt(...)'")]
PdfPermissionsFlags ResetPermissions(
	PdfPermissionsFlags flags
)
[<ObsoleteAttribute("This method may be removed in the future.To re-set permissions, please call the method' Encrypt(...)'")>]
member ResetPermissions : 
        flags : PdfPermissionsFlags -> PdfPermissionsFlags 

Parameters

flags
PdfPermissionsFlags
The mask of set bit that should be cleared in the result.

Return Value

PdfPermissionsFlags
The ANDed value of flag and inverted mask.

See Also