ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFDocument Class / PermRequest Method
The target object of the permissions request.
The target operation of the permissions request.
An authorization data (password string).




In This Topic
    PermRequest Method
    In This Topic
    Checks the permissions associated with the specified document using the latest permissions format and determines whether the requested operation is allowed for the specified object in the document.
    Syntax
    'Declaration
     
    Public Function PermRequest( _
       ByVal targetObject As ImGearPDFPermReqObj, _
       ByVal targetOperation As ImGearPDFPermReqOpr, _
       ByVal password As String _
    ) As ImGearPDFPermReqStatus
    'Usage
     
    Dim instance As ImGearPDFDocument
    Dim targetObject As ImGearPDFPermReqObj
    Dim targetOperation As ImGearPDFPermReqOpr
    Dim password As String
    Dim value As ImGearPDFPermReqStatus
     
    value = instance.PermRequest(targetObject, targetOperation, password)

    Parameters

    targetObject
    The target object of the permissions request.
    targetOperation
    The target operation of the permissions request.
    password
    An authorization data (password string).

    Return Value

    One of ImGearPDFPermReqStatus enumeration request status constants.
    See Also