IPXV_Inst::SetDocFeaturePermission Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetDocFeaturePermission([in]                   IUnknown*  pCtx,
                                [in]                   BSTR       sDocPath,
                                [in]                   BSTR       sFeatureName,
                                [in, defaultvalue(1)]  LONG       nPerm,
                                [in, defaultvalue(0)]  LONG       nFlags);

Parameters

pCtx
[in] Pointer to IUnknown*.
sDocPath
[in] Value of BSTR.
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