IPXV_OCRRegions::InsertNew Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in]                              ULONG            Flags,
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in]                              PXV_OCRBlockType  nType,
                   [in]                              PXC_Rect*        RectOnPage,
+
                   [in]                              PXC_Rect*        stRectOnPage,
                   [in, defaultvalue(-1)]            LONG              InsertBefore,
+
                   [in, defaultvalue(-1)]            LONG              nInsertBefore,
                   [out, retval, defaultvalue(NULL)]  IPXV_OCRRegion**  NewItem);</pre>
+
                   [out, retval, defaultvalue(NULL)]  IPXV_OCRRegion**  pNewItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Flags
+
;nType
:[in]  Value of ULONG.
+
:[in]  Value of [[PXV:PXV_OCRBlockType|PXV_OCRBlockType]].
;RectOnPage
+
;stRectOnPage
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
;InsertBefore
+
;nInsertBefore
 
:[in, defaultvalue(-1)]  Value of LONG.
 
:[in, defaultvalue(-1)]  Value of LONG.
;NewItem
+
;pNewItem
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
  

Latest revision as of 12:41, 9 June 2016


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNew([in]                               PXV_OCRBlockType  nType,
                  [in]                               PXC_Rect*         stRectOnPage,
                  [in, defaultvalue(-1)]             LONG              nInsertBefore,
                  [out, retval, defaultvalue(NULL)]  IPXV_OCRRegion**  pNewItem);

Parameters

nType
[in] Value of PXV_OCRBlockType.
stRectOnPage
[in] Pointer to PXC_Rect.
nInsertBefore
[in, defaultvalue(-1)] Value of LONG.
pNewItem
[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

IPXV_OCRRegions