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)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_OCRRegions::InsertNew Method}}
 
{{#customTitle:IPXV_OCRRegions::InsertNew Method}}
{{#parentPage:PXV:IPXV_OCRRegions#Methods|InsertNew Method|method}}
+
{{#parentPage:PXV:IPXV_OCRRegions#Methods|InsertNew|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in]                              ULONG            nFlags,
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNew([in]                              PXV_OCRBlockType  nType,
                   [in]                              PXC_Rect*        pRectOnPage,
+
                   [in]                              PXC_Rect*        stRectOnPage,
 
                   [in, defaultvalue(-1)]            LONG              nInsertBefore,
 
                   [in, defaultvalue(-1)]            LONG              nInsertBefore,
                   [out, retval, defaultvalue(NULL)]  IPXV_OCRRegion**  ppNewItem);</pre>
+
                   [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 28: Line 28:
  
 
== 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