IPXC_Document::AddImageFromMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::AddImageFromMemory Method}}
 
{{#customTitle:IPXC_Document::AddImageFromMemory Method}}
Line 39: Line 40:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Document|IPXC_Document]].
+
[[PXV:IPXC_Document|IPXC_Document]].

Revision as of 05:25, 20 May 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddImageFromMemory([in]                   UCHAR*          Data,
                           [in]                   ULONG           dataSize,
                           [in]                   ULONG           nWidth,
                           [in]                   ULONG           nHeight,
                           [in]                   LONG            nStride,
                           [in]                   PXC_ImgMemType  nType,
                           [in, defaultvalue(0)]  ULONG           dwFlags,
                           [out, retval]          IPXC_Image**    ppImage);

Parameters

Data
[in] Pointer to UCHAR.
dataSize
[in] Value of ULONG.
nWidth
[in] Value of ULONG.
nHeight
[in] Value of ULONG.
nStride
[in] Value of LONG.
nType
[in] Value of PXC_ImgMemType.
dwFlags
[in, defaultvalue(0)] Value of ULONG.
ppImage
[out, retval] Pointer to IPXC_Image.

Return Value

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

See Also

IPXC_Document.