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)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_OCRRegions::InsertNew Method}}
 
{{#customTitle:IPXV_OCRRegions::InsertNew Method}}
 +
{{#parentPage:PXV:IPXV_OCRRegions#Methods|InsertNew|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in]                               PXV_OCRBlockType  nType,
 +
                  [in]                               PXC_Rect*         stRectOnPage,
 +
                  [in, defaultvalue(-1)]             LONG             nInsertBefore,
 +
                  [out, retval, defaultvalue(NULL)] IPXV_OCRRegion** pNewItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nFlags''
+
;nType
:[in]  Value of ULONG.
+
:[in]  Value of [[PXV:PXV_OCRBlockType|PXV_OCRBlockType]].
;''pRectOnPage''
+
;stRectOnPage
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
 
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
;''nInsertBefore''
+
;nInsertBefore
 
:[in, defaultvalue(-1)]  Value of LONG.
 
:[in, defaultvalue(-1)]  Value of LONG.
;''ppNewItem''
+
;pNewItem
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_OCRRegion|IPXV_OCRRegion]].
  
Line 21: Line 28:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_OCRRegions|IPXV_OCRRegions]].
+
[[PXV:IPXV_OCRRegions|IPXV_OCRRegions]]

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