IPXC_Document::AddImageFromMemory Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 1: | Line 1: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_Document::AddImageFromMemory Method}} | {{#customTitle:IPXC_Document::AddImageFromMemory Method}} | ||
− | {{#parentPage:PXV:IPXC_Document|method}} | + | {{#parentPage:PXV:IPXC_Document|AddImageFromMemory Method|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">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);</pre> | + | <pre class="brush:cpp;gutter:false">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);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;Data |
:[in] Pointer to UCHAR. | :[in] Pointer to UCHAR. | ||
− | ; | + | ;dataSize |
:[in] Value of ULONG. | :[in] Value of ULONG. | ||
− | ; | + | ;nWidth |
:[in] Value of ULONG. | :[in] Value of ULONG. | ||
− | ; | + | ;nHeight |
:[in] Value of ULONG. | :[in] Value of ULONG. | ||
− | ; | + | ;nStride |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;nType |
:[in] Value of [[PXV:PXC_ImgMemType|PXC_ImgMemType]]. | :[in] Value of [[PXV:PXC_ImgMemType|PXC_ImgMemType]]. | ||
− | ; | + | ;dwFlags |
:[in, defaultvalue(0)] Value of ULONG. | :[in, defaultvalue(0)] Value of ULONG. | ||
− | ; | + | ;ppImage |
:[out, retval] Pointer to [[PXV:IPXC_Image|IPXC_Image]]. | :[out, retval] Pointer to [[PXV:IPXC_Image|IPXC_Image]]. | ||
Revision as of 05:01, 23 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
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
See also IPXC_Document.