IPXC_AnnotData_Widget::SetIcon Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT SetIcon([in] PXC_AnnotAppType nType, [in] IPXC_XForm* pIcon, [in, defaultvalue(0)] VARIANT_BOOL bRemoveOthers);
Parameters
- nType
- [in] Value of PXC_AnnotAppType containing the annotation application type.
- pIcon
- [in] Pointer to IPXC_XForm containing the icon that should be used.
- bRemoveOthers
- [in, defaultvalue(0)] Defines, whether the other icons should be removed from the widget.
Return Value
Returns S_OK if operation was successful or error code in other cases.