IUIX_RenderContext::DrawImage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_RenderContext::DrawImage Method}} | {{#customTitle:IUIX_RenderContext::DrawImage Method}} | ||
− | {{#parentPage:PXV:IUIX_RenderContext|method}} | + | {{#parentPage:PXV:IUIX_RenderContext#Methods|DrawImage|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 8: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT DrawImage([in] IUIX_ImageData* pSrc, [in] RECT* pDstRect, RECT* pSrcRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nScaleH, [in, defaultvalue(0)] LONG nScaleV, [in, defaultvalue(1)] LONG nStretchMethod, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT DrawImage([in] IUIX_ImageData* pSrc, |
+ | [in] RECT* pDstRect, | ||
+ | RECT* pSrcRect, | ||
+ | [in] RECT* pClipRect, | ||
+ | [in, defaultvalue(0)] LONG nScaleH, | ||
+ | [in, defaultvalue(0)] LONG nScaleV, | ||
+ | [in, defaultvalue(1)] LONG nStretchMethod, | ||
+ | [in, defaultvalue(0)] LONG nFlags, | ||
+ | [in, defaultvalue(1.0)] double nOpacity);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pSrc |
:[in] Pointer to [[PXV:IUIX_ImageData|IUIX_ImageData]]. | :[in] Pointer to [[PXV:IUIX_ImageData|IUIX_ImageData]]. | ||
− | ; | + | ;pDstRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;pSrcRect |
: Pointer to RECT. | : Pointer to RECT. | ||
− | ; | + | ;pClipRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;nScaleH |
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;nScaleV |
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;nStretchMethod |
:[in, defaultvalue(1)] Value of LONG. | :[in, defaultvalue(1)] Value of LONG. | ||
− | ; | + | ;nFlags |
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;nOpacity |
:[in, defaultvalue(1.0)] Value of double. | :[in, defaultvalue(1.0)] Value of double. | ||
Line 34: | Line 43: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_RenderContext|IUIX_RenderContext]] |
Latest revision as of 10:21, 23 May 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawImage([in] IUIX_ImageData* pSrc, [in] RECT* pDstRect, RECT* pSrcRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nScaleH, [in, defaultvalue(0)] LONG nScaleV, [in, defaultvalue(1)] LONG nStretchMethod, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);
Parameters
- pSrc
- [in] Pointer to IUIX_ImageData.
- pDstRect
- [in] Pointer to RECT.
- pSrcRect
- Pointer to RECT.
- pClipRect
- [in] Pointer to RECT.
- nScaleH
- [in, defaultvalue(0)] Value of LONG.
- nScaleV
- [in, defaultvalue(0)] Value of LONG.
- nStretchMethod
- [in, defaultvalue(1)] Value of LONG.
- nFlags
- [in, defaultvalue(0)] Value of LONG.
- nOpacity
- [in, defaultvalue(1.0)] Value of double.
Return Value
Returns S_OK if operation was successful or error code in other cases.