IPXC_Document::SetNamedDestination Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SetNamedDestination([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT SetNamedDestination([in] BSTR DestName, |
− | [in] PXC_Destination* | + | [in] PXC_Destination* Dest);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;DestName |
:[in] Name of the named destination that needs to be set with new data. | :[in] Name of the named destination that needs to be set with new data. | ||
− | ; | + | ;Dest |
:[in] Pointer to [[PXV:PXC_Destination|PXC_Destination]] containing new data of the given destination. | :[in] Pointer to [[PXV:PXC_Destination|PXC_Destination]] containing new data of the given destination. | ||
Revision as of 06:01, 12 June 2015
Sets named destination with given name with new value. Note that if the given named destination is not in the named destination list it will be created.
Syntax
HRESULT SetNamedDestination([in] BSTR DestName, [in] PXC_Destination* Dest);
Parameters
- DestName
- [in] Name of the named destination that needs to be set with new data.
- Dest
- [in] Pointer to PXC_Destination containing new data of the given destination.
Return Value
Returns S_OK if operation was successful or error code in other cases.