IPXV_OCRRegions::InsertNew Method
From PDF XChange PDF SDK
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.