IPXV_OCRRegions::InsertNew Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertNew([in] | + | <pre class="brush:cpp;gutter:false">HRESULT InsertNew([in] PXV_OCRBlockType nType, |
− | [in] PXC_Rect* | + | [in] PXC_Rect* stRectOnPage, |
[in, defaultvalue(-1)] LONG nInsertBefore, | [in, defaultvalue(-1)] LONG nInsertBefore, | ||
− | [out, retval, defaultvalue(NULL)] IPXV_OCRRegion** | + | [out, retval, defaultvalue(NULL)] IPXV_OCRRegion** pNewItem);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;nType |
− | :[in] Value of | + | :[in] Value of [[PXV:PXV_OCRBlockType|PXV_OCRBlockType]]. |
− | ; | + | ;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. | ||
− | ; | + | ;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.