IIXC_Page::UnlockPageBlock Method

From PDF XChange PDF SDK
Revision as of 14:27, 15 May 2015 by Craig (Talk | contribs)

Jump to: navigation, search


The method unlocks a portion of the page that was previously locked by a call to IIXC_Page::LockPageBlock.

Syntax

HRESULT UnlockPageBlock([in]  IXC_PageBlockData*  pBlockData);

Parameters

pBlockData
[in] Pointer to a IXC_PageBlockData structure that was previously passed to IIXC_Page::LockPageBlock.

Return Value

Returns S_OK if operation was successful or error code in other cases.

Remarks

IIXC_Page::LockPageBlock and IIXC_Page::UnlockPageBlock must be used as a pair. A call to the IIXC_Page::LockPageBlock function of the page establishes a temporary buffer that you can use to read or write pixel data. After you write to the temporary buffer, a call to IIXC_Page::UnlockPageBlock copies the pixel data in the buffer to the page.

See Also

IIXC_Page.
IIXC_Page::LockPageBlock
IXC_PageBlockData