IPXC_Page::AddAnnotToGroup Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddAnnotToGroup([in] IPXC_Annotation* pAnnot, [in] IPXC_Annotation* pGroupAnnot, [in, optional] VARIANT_BOOL bAttachToRoot);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddAnnotToGroup([in] IPXC_Annotation* pAnnot, [in] IPXC_Annotation* pGroupAnnot, [in, defaultvalue(-1)] VARIANT_BOOL bAttachToRoot);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
;''bAttachToRoot''
 
;''bAttachToRoot''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 23:56, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddAnnotToGroup([in] IPXC_Annotation* pAnnot, [in] IPXC_Annotation* pGroupAnnot, [in, defaultvalue(-1)] VARIANT_BOOL bAttachToRoot);

Parameters

pAnnot
[in] Pointer to IPXC_Annotation.
pGroupAnnot
[in] Pointer to IPXC_Annotation.
bAttachToRoot
[in, defaultvalue(-1)] Value of VARIANT_BOOL.

Return Value

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

See Also

See also IPXC_Page.