IIXC_Image::LoadFromMemory Method
From PDF XChange PDF SDK
Line 23: | Line 23: | ||
:[[PXV:IIXC_Image|IIXC_Image]] | :[[PXV:IIXC_Image|IIXC_Image]] | ||
:[[PXV:IIXC_Image_Load|IIXC_Image::Load]] | :[[PXV:IIXC_Image_Load|IIXC_Image::Load]] | ||
+ | :[[PXV:IIXC_Inst_CreateEmptyImage|IIXC_Inst::CreateEmptyImage]] | ||
:[[PXV:IIXC_Image_LoadFromIStream|IIXC_Image::LoadFromIStream]] | :[[PXV:IIXC_Image_LoadFromIStream|IIXC_Image::LoadFromIStream]] | ||
+ | :[[PXV:IIXC_Image_Save|IIXC_Image::Save]] |
Revision as of 04:11, 18 May 2015
The method loads an image from a memory buffer.
Contents
Syntax
HRESULT LoadFromMemory([in] UCHAR* pData, [in] ULONG nDataSize);
Parameters
- pData
- [in] Specifies a pointer to a memory buffer containing image information.
- nDataSize
- [in] Specifies the size of the buffer pointed to by pData.
Return Value
Returns S_OK if operation was successful or error code in other cases.