IPXV_OCRRegions::InsertNew 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 InsertNew([in] ULONG nFlags, [in] PXC_Rect* pRectOnPage, [in, optional] LONG nInsertBefore, [out, retval, optional] IPXV_OCRRegion** ppNewItem);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in] ULONG nFlags, [in] PXC_Rect* pRectOnPage, [in, defaultvalue(-1)] LONG nInsertBefore, [out, retval, defaultvalue(NULL)] IPXV_OCRRegion** ppNewItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
 
;''nInsertBefore''
 
;''nInsertBefore''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG.
 
;''ppNewItem''
 
;''ppNewItem''
:[out, retval, optional]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:43, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNew([in] ULONG nFlags, [in] PXC_Rect* pRectOnPage, [in, defaultvalue(-1)] LONG nInsertBefore, [out, retval, defaultvalue(NULL)] IPXV_OCRRegion** ppNewItem);

Parameters

nFlags
[in] Value of ULONG.
pRectOnPage
[in] Pointer to PXC_Rect.
nInsertBefore
[in, defaultvalue(-1)] Value of LONG.
ppNewItem
[out, retval, defaultvalue(NULL)] Pointer to IPXV_OCRRegion.

Return Value

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

See Also

See also IPXV_OCRRegions.