IIXC_Image::LoadFromMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Image::LoadFromMemory Method}}
 
{{#customTitle:IIXC_Image::LoadFromMemory Method}}
{{#parentPage:PXV:IIXC_Image|LoadFromMemory Method|method}}
+
{{#parentPage:PXV:IIXC_Image#Methods|LoadFromMemory|method}}
  
 
The method loads an image from a memory buffer.
 
The method loads an image from a memory buffer.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT LoadFromMemory([in]  UCHAR*  pData,
+
<pre class="brush:cpp;gutter:false">HRESULT LoadFromMemory([in]  UCHAR*  nData,
 
                       [in]  ULONG  nDataSize);</pre>
 
                       [in]  ULONG  nDataSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pData
+
;nData
 
:[in]  Specifies a pointer to a memory buffer containing image information.
 
:[in]  Specifies a pointer to a memory buffer containing image information.
 
;nDataSize
 
;nDataSize
:[in]  Specifies the size of the buffer pointed to by '''pData'''.
+
:[in]  Specifies the size of the buffer pointed to by '''nData'''.
  
 
== Return Value ==
 
== Return Value ==
Line 20: Line 20:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Image|IIXC_Image]]
+
[[PXV:IIXC_Image|IIXC_Image]]
:[[PXV:IIXC_Image_Load|IIXC_Image::Load]]
+
:[[PXV:IIXC_Inst_CreateEmptyImage|IIXC_Inst::CreateEmptyImage]]
+
:[[PXV:IIXC_Image_LoadFromIStream|IIXC_Image::LoadFromIStream]]
+
:[[PXV:IIXC_Image_Save|IIXC_Image::Save]]
+

Latest revision as of 03:15, 15 June 2015

The method loads an image from a memory buffer.

Syntax

HRESULT LoadFromMemory([in]  UCHAR*  nData,
                       [in]  ULONG   nDataSize);

Parameters

nData
[in] Specifies a pointer to a memory buffer containing image information.
nDataSize
[in] Specifies the size of the buffer pointed to by nData.

Return Value

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

See Also

IIXC_Image