IPXV_Inst::CreateOpenDocParams Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 13: Line 13:
 
;pOpenDocParams
 
;pOpenDocParams
 
:[out, retval]  Returns pointer to a new [[PXV:ICab|ICab]] object with additional parameters for documents opening.
 
:[out, retval]  Returns pointer to a new [[PXV:ICab|ICab]] object with additional parameters for documents opening.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cab Item Name
 +
! [[PXV:CabDataTypeID|Cab Data Type]]
 +
! Description
 +
|-
 +
| SecPermMask
 +
| [[PXV:CabDataTypeID|dt_Int]]
 +
| Sets the security permissions mask.
 +
|-
 +
| Temp
 +
| [[PXV:CabDataTypeID|dt_Bool]]
 +
| Indicates whether the document should be created as a temporary document.
 +
|}
  
 
== Return Value ==
 
== Return Value ==

Revision as of 09:12, 13 April 2016


Creates container with additional parameters for documents opening. Then it can be passed to IPXV_MainFrame::OpenDocFrom/IPXV_MainFrame::OpenDocFromPath to customize document opening process.

Syntax

HRESULT CreateOpenDocParams([out, retval]  ICab**  pOpenDocParams);

Parameters

pOpenDocParams
[out, retval] Returns pointer to a new ICab object with additional parameters for documents opening.
Cab Item Name Cab Data Type Description
SecPermMask dt_Int Sets the security permissions mask.
Temp dt_Bool Indicates whether the document should be created as a temporary document.

Return Value

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

See Also

IPXV_Inst, IPXV_MainFrame::OpenDocFrom, IPXV_MainFrame::OpenDocFromPath