IPXV_Inst::SetDocFeaturePermission2 Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetDocFeaturePermission2([in]                   IUnknown*       pCtx,
                                 [in]                   IPXV_Document*  pDoc,
                                 [in]                   BSTR            sFeatureName,
                                 [in, defaultvalue(1)]  LONG            nPerm,
                                 [in, defaultvalue(0)]  LONG            nFlags);

Parameters

pCtx
[in] Pointer to IUnknown*.
pDoc
[in] Pointer to IPXV_Document.
sFeatureName
[in] Value of BSTR.
nPerm
[in, defaultvalue(1)] Value of LONG.
nFlags
[in, defaultvalue(0)] Value of LONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst