IPXC_Inst::OpenDocumentFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 12: Line 12:
 
                         [in]                      IPXC_DocAuthCallback*  pAuthCallback,
 
                         [in]                      IPXC_DocAuthCallback*  pAuthCallback,
 
                         [in, defaultvalue(NULL)]  IProgressMon*          pProgressMon,
 
                         [in, defaultvalue(NULL)]  IProgressMon*          pProgressMon,
                         [in, defaultvalue(0)]    ULONG                  dwFlags,
+
                         [in, defaultvalue(0)]    ULONG                  nFlags,
                         [in, defaultvalue(0)]    ULONG                  permsMask,
+
                         [in, defaultvalue(0)]    ULONG                  nRestrictPerms,
 
                         [out, retval]            IPXC_Document**        pDocument);</pre>
 
                         [out, retval]            IPXC_Document**        pDocument);</pre>
  
Line 23: Line 23:
 
;pProgressMon
 
;pProgressMon
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
;dwFlags
+
;nFlags
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
;permsMask
+
;nRestrictPerms
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
 
;pDocument
 
;pDocument

Revision as of 23:59, 11 August 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OpenDocumentFrom([in]                      IUnknown*              pSrc,
                         [in]                      IPXC_DocAuthCallback*  pAuthCallback,
                         [in, defaultvalue(NULL)]  IProgressMon*          pProgressMon,
                         [in, defaultvalue(0)]     ULONG                  nFlags,
                         [in, defaultvalue(0)]     ULONG                  nRestrictPerms,
                         [out, retval]             IPXC_Document**        pDocument);

Parameters

pSrc
[in] Pointer to IUnknown*.
pAuthCallback
[in] Pointer to IPXC_DocAuthCallback.
pProgressMon
[in, defaultvalue(NULL)] Pointer to IProgressMon.
nFlags
[in, defaultvalue(0)] Value of ULONG.
nRestrictPerms
[in, defaultvalue(0)] Value of ULONG.
pDocument
[out, retval] Pointer to IPXC_Document.

Return Value

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

See Also

IPXC_Inst