IPXC_Document::AddImageFromMemory Method

From PDF XChange PDF SDK
Revision as of 06:15, 20 March 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, optional] 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, optional] 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

See also IPXC_Document.