IPXC_Page::MoveAnnot Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT MoveAnnot([in]                    IPXC_Annotation*  pAnnot,
+
<pre class="brush:cpp;gutter:false">HRESULT MoveAnnot([in]                    IPXC_Annotation*  Annot,
                   [in]                    ULONG            nDestPage,
+
                   [in]                    ULONG            DestPage,
                   [in, defaultvalue(-1)]  LONG              nInsertBefore);</pre>
+
                   [in, defaultvalue(-1)]  LONG              InsertBefore);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pAnnot
+
;Annot
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]] containing the annotation that will be moved.
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]] containing the annotation that will be moved.
;nDestPage
+
;DestPage
 
:[in]  Destination page number.
 
:[in]  Destination page number.
;nInsertBefore
+
;InsertBefore
 
:[in, defaultvalue(-1)]  Position in annotation's Z-order on page. By default the moved annotation will appear on top of the other annotations on the page.
 
:[in, defaultvalue(-1)]  Position in annotation's Z-order on page. By default the moved annotation will appear on top of the other annotations on the page.
  

Revision as of 07:08, 12 June 2015


Moves annotation from the page to the destination page with given Z-order.

Syntax

HRESULT MoveAnnot([in]                    IPXC_Annotation*  Annot,
                  [in]                    ULONG             DestPage,
                  [in, defaultvalue(-1)]  LONG              InsertBefore);

Parameters

Annot
[in] Pointer to IPXC_Annotation containing the annotation that will be moved.
DestPage
[in] Destination page number.
InsertBefore
[in, defaultvalue(-1)] Position in annotation's Z-order on page. By default the moved annotation will appear on top of the other annotations on the page.

Return Value

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

See Also

IPXC_Page