IPXC_AnnotData_Widget::SetIcon Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_AnnotData_Widget::SetIcon Method}}
 
{{#customTitle:IPXC_AnnotData_Widget::SetIcon Method}}
{{#parentPage:PXV:IPXC_AnnotData_Widget|SetIcon Method|method}}
+
{{#parentPage:PXV:IPXC_AnnotData_Widget#Methods|SetIcon|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
Line 14: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nType
 
;nType
:[in]  Value of [[PXV:PXC_AnnotAppType|PXC_AnnotAppType]].
+
:[in]  Value of [[PXV:PXC_AnnotAppType|PXC_AnnotAppType]] containing the annotation application type.
 
;pIcon
 
;pIcon
:[in]  Pointer to [[PXV:IPXC_XForm|IPXC_XForm]].
+
:[in]  Pointer to [[PXV:IPXC_XForm|IPXC_XForm]] containing the icon that should be used.
 
;bRemoveOthers
 
;bRemoveOthers
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Defines, whether the other icons should be removed from the widget.
  
 
== Return Value ==
 
== Return Value ==
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_AnnotData_Widget|IPXC_AnnotData_Widget]].
+
[[PXV:IPXC_AnnotData_Widget|IPXC_AnnotData_Widget]]

Latest revision as of 08:02, 9 March 2016


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.

See Also

IPXC_AnnotData_Widget